[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nagios2 auf etch



Am 07.03.07 schrieb Thomas Halinka <thohal84@yahoo.de>:
Michael Böhm schrieb:
> Hallo,
>
> -läuft der apache?
netstat -tap
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address           Foreign Address
State       PID/Program name
tcp        0      0 nagios.tumorbio.un:5666 *:*
LISTEN     8862/nrpe
tcp        0      0 nagios.tumorbio.u:mysql *:*
LISTEN     11057/mysqld
tcp        0      0 nagios.tumorbio.uni:www *:*
LISTEN     12532/apache2
tcp        0      0 nagios.tumorbio.un:smtp *:*
LISTEN     7381/exim4
tcp        0      0 nagios.tumorbio.uni:www fsc538.xxxxxx:2512 TIME_WAIT  -

Wieso kommt hier time_wait?

Naja hattest halt von deinem Client aus ne Verbindung offen. Ich glaube da wartet er noch auf ein letztes ACK oder so. Echt kein Plan, dürfte aber nicht das Problem sein.

> -wurde nagios in den apache eingebunden?
> (/etc/apache2/conf.d/nagios2.conf)
# ls -la /etc/apache2/conf.d/
insgesamt 12
drwxr-xr-x 2 root root 4096 2007-03-07 16:38 .
drwxr-xr-x 7 root root 4096 2007-03-07 14:10 ..
-rw-r--r-- 1 root root   24 2007-03-07 13:46 charset
lrwxrwxrwx 1 root root   25 2007-03-07 13:46 nagios2.conf ->
/etc/nagios2/apache2.conf
Diese ist auch identisch mit der auf dem anderen System!

sieht gut aus.  

> - wie lautet dort der vergebene Alias? -> mit dem kannste dann aufs
> webfrontend zugreifen
> (bin auf Arbeit deswegen nur ganz knapp ;-)
# cat /etc/apache2/conf.d/nagios2.conf | grep Alias
ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios2
ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios2
#ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios2
#ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios2
Alias /nagios2 /usr/share/nagios2/htdocs
#Alias /nagios /usr/share/nagios2/htdocs
#Alias /nagios2/stylesheets /etc/nagios2/stylesheets
#Alias /nagios/stylesheets /etc/nagios2/stylesheets
# Enable this ScriptAlias if you want to enable the grouplist patch.
#ScriptAlias /nagios2/side.html /usr/lib/cgi-bin/nagios2/grouplist.cgi
#ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios2/grouplist.cgi

Also:
http://nagios.tumorbio.uni --> geht?
aber
http://nagios.tumorbio.uni/nagios2 --> geht nicht?

Auch identisch mit der alten version?
PHP5 macht hoffentlich keine Probleme?

na erstell doch einfach mal ne test.php in /var/www/ mit folgendem Inhalt:
<?php phpinfo() ?>
und ruf die auf, erstmal n kleiner test.

apt-get install apache2 php5 libapache2-mod-php5 php-gd hatte ich noch
gemacht -
half aber auch nichts :-(

Aber gaaanz wichtig : hast du den apachen neugestartet nach Nagios Installation, damit er die Nagios-Aliase kennt?

Grüßle
Thomas

Gruß

Micha

Reply to: