mavarazo
Anmeldungsdatum: 2. Oktober 2013
Beiträge: 35
|
Hallo zusammen Habe auf meinem System Nagios installiert. Wenn ich die Webconsole aufrufen möchte, sieht diese ein bisschen komisch aus ☺.
Überall tummeln sich die Meldungen:
Not Found
The requested URL /nagios3/< was not found on this server. Hat jemand eine Idee? NB: Plex und eDonkey laufen ohne Probleme auf dem selben System.
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Wie hast Du Nagios installiert? Und wo kommt die spitze Klammer in der Fehlermeldung her? Hast Du die mit eingegeben?
|
mavarazo
(Themenstarter)
Anmeldungsdatum: 2. Oktober 2013
Beiträge: 35
|
Installiert habe ich es via apt-get install nagios3.
Nein, die gebe ich nicht an (http://192.168.178.10/nagios3/).
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Existiert in /etc/apache2/conf-enabled ein Symlink auf /etc/apache2/conf-available/nagios3.conf?
|
mavarazo
(Themenstarter)
Anmeldungsdatum: 2. Oktober 2013
Beiträge: 35
|
Jap, der ist vorhanden:
lrwxrwxrwx 1 root root 30 Okt 11 07:43 nagios3.conf -> ../conf-available/nagios3.conf
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Kannst Du mal den Inhalt der Datei zeigen?
|
mavarazo
(Themenstarter)
Anmeldungsdatum: 2. Oktober 2013
Beiträge: 35
|
Gerne ☺ # apache configuration for nagios 3.x
# note to users of nagios 1.x and 2.x:
# throughout this file are commented out sections which preserve
# backwards compatibility with bookmarks/config for older nagios versios.
# simply look for lines following "nagios 1.x:" and "nagios 2.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
# nagios 2.x:
#ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3
#ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3
# Where the stylesheets (config files) reside
Alias /nagios3/stylesheets /etc/nagios3/stylesheets
# nagios 1.x:
#Alias /nagios/stylesheets /etc/nagios3/stylesheets
# nagios 2.x:
#Alias /nagios2/stylesheets /etc/nagios3/stylesheets
# Where the HTML pages live
Alias /nagios3 /usr/share/nagios3/htdocs
# nagios 2.x:
#Alias /nagios2 /usr/share/nagios3/htdocs
# nagios 1.x:
#Alias /nagios /usr/share/nagios3/htdocs
<DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets)>
Options FollowSymLinks
DirectoryIndex index.php 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>
<Directory /usr/share/nagios3/htdocs>
Options +ExecCGI
</Directory>
# 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
|
mavarazo
(Themenstarter)
Anmeldungsdatum: 2. Oktober 2013
Beiträge: 35
|
Das side.php wird auch nicht korrekt dargestellt:
| Current Status
/tac.cgi" target="">Tactical Overview
/statusmap.cgi?host=all" target="">Map
/status.cgi?hostgroup=all&style=hostdetail" target="">Hosts
/status.cgi?host=all" target="">Services
/status.cgi?hostgroup=all&style=overview" target="">Host Groups
|
Das ist nicht die Source, sondern so steht es auf der Page.
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Welche Ausgabe gibt Dir apache2ctl -M ?
|
mavarazo
(Themenstarter)
Anmeldungsdatum: 2. Oktober 2013
Beiträge: 35
|
Loaded Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
unixd_module (static)
access_compat_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
mime_module (shared)
mpm_prefork_module (shared)
negotiation_module (shared)
setenvif_module (shared)
status_module (shared)
|
xabbuh
Anmeldungsdatum: 25. Mai 2006
Beiträge: 6411
|
Steht im Error Log irgendetwas dazu?
|
mavarazo
(Themenstarter)
Anmeldungsdatum: 2. Oktober 2013
Beiträge: 35
|
In dem /var/log/apache2/error.log stehen eigentlich nur meine Service restarts: [Fri Oct 11 07:43:04.223925 2013] [mpm_prefork:notice] [pid 32744] AH00171: Graceful restart requested, doing restart
[Fri Oct 11 07:43:04.226646 2013] [mpm_prefork:notice] [pid 32744] AH00163: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
[Fri Oct 11 07:43:04.226654 2013] [core:notice] [pid 32744] AH00094: Command line: '/usr/sbin/apache2'
|
mavarazo
(Themenstarter)
Anmeldungsdatum: 2. Oktober 2013
Beiträge: 35
|
Oke, jetzt gehts... habe einfach alle nagios3 pkgs removed und wieder installieren lassen.
|