Nagios3 und 404 !

Dennisda

Registered User
Hallo,

wollte mal auf einem leeren Vserver Nagios3 testen. Nach der Installation habe ich ip/nagios aufgerufen bekomme jedoch nur ne 404 ausgegeben.

hier mal der Inhalt der Error.log von Apache:

[Wed Jun 18 18:08:11 2008] [error] [client 91.65.46.158] File does not exist: /var/www/nagios
[Wed Jun 18 18:08:11 2008] [error] [client 91.65.46.158] File does not exist: /var/www/favicon.ico
[Wed Jun 18 18:08:14 2008] [error] [client 91.65.46.158] File does not exist: /var/www/favicon.ico
[Wed Jun 18 18:09:47 2008] [error] [client 91.65.46.158] File does not exist: /var/www/nagios
[Wed Jun 18 18:10:14 2008] [error] [client 91.65.46.158] File does not exist: /var/www/favicon.ico
[Wed Jun 18 18:10:17 2008] [error] [client 91.65.46.158] File does not exist: /var/www/favicon.ico
[Wed Jun 18 18:10:17 2008] [error] [client 91.65.46.158] File does not exist: /var/www/nagios
[Wed Jun 18 18:10:22 2008] [error] [client 91.65.46.158] File does not exist: /var/www/nagios
[Wed Jun 18 18:11:52 2008] [error] [client 91.65.46.158] File does not exist: /var/www/nagios
[Wed Jun 18 18:12:10 2008] [error] [client 91.65.46.158] File does not exist: /var/www/nagios3
[Wed Jun 18 18:12:14 2008] [error] [client 91.65.46.158] File does not exist: /var/www/nagios3

und hier mal der Inhalt von der nagios.conf die im /etc/apache2/conf.d liegt:

Code:
# apache configuration for nagios 2.x
# note to users of nagios 1.x:
#       throughout this file are commented out sections which preserve
#       backwards compatibility with bookmarks/config for nagios 1.x.  simply
#       look for lines following "nagios 1.x:" comments.

ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
# nagios 1.x:
#ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3
#ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3

# Where the HTML pages live
Alias neue-singel.de/nagios3 /usr/share/nagios3/htdocs
# nagios 1.x:
#Alias /nagios /usr/share/nagios3/htdocs

<DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3)>
        Options FollowSymLinks

        DirectoryIndex index.html

        AllowOverride AuthConfig
        Order Allow,Deny
        Allow From All

        AuthName "Nagios Access"
        AuthType Basic
        AuthUserFile /etc/nagios3/htpasswd.users
        # nagios 1.x:
        #AuthUserFile /etc/nagios/htpasswd.users
        require valid-user
</DirectoryMatch>

# Where the stylesheets (config files) reside
#Alias /nagios3/stylesheets /etc/nagios3/stylesheets
# nagios 1.x:
#Alias /nagios/stylesheets /etc/nagios3/stylesheets

# Enable this ScriptAlias if you want to enable the grouplist patch.
# See http://apan.sourceforge.net/download.html for more info
# It allows you to see a clickable list of all hostgroups in the
# left pane of the Nagios web interface
# XXX This is not tested for nagios 2.x use at your own peril
#ScriptAlias /nagios3/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi
# nagios 1.x:
#ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios3/grouplist.cgi

Wer kann mir ein Tipp geben ?

Gruß
Dennis
 
Hallo!
Ich kenne zwar die Nagios Config nicht, aber die Zeile
Code:
Alias neue-singel.de/nagios3 /usr/share/nagios3/htdocs
kommt mir doch etwas merkwürdig vor.

mfG
Thorsten
 
Back
Top