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

Re: Nagios installation



Moin Hagen,

> > > > Whoops!
> > > > Error: Could not read host and service status information!

> An den cfg-Dateien wurde noch nichts geändert?

Nein.

> Handelt es sich um nagios-text, nagios-mysql, ...?

EselX01:~# dpkg -l | grep nagios
ii  nagios-common  1.3-0+pre6     A host/service/network monitoring and
ii  nagios-nrpe-pl 2.0-7          Nagios Remote Plugin Exectutor Plugin
ii  nagios-nrpe-se 2.0-7          Nagios Remote Plugin Exectutor Server
ii  nagios-plugins 1.3.1.0-12     Plugins for the nagios network 
ii  nagios-statd-s 3.09-7         nagios server for monitoring remote ii
nagios-text    1.3-0+pre6     A host/service/network monitoring and

> /etc/nagios/ ist auch lesbar?

drwxr-xr-x   2 root   root       4096 2005-01-03 12:12 nagat
drwxr-xr-x   3 nagios www-data   4096 2005-01-03 12:19 nagios
drwxr-xr-x   3 root   root       4096 2005-01-03 12:11 nagios-plugins

> Hmm, vielleicht war der plugin-Pfad-Wechsel wichtig, ich hatte den
> in resource.cfg geändert in:
> 
> # Sets $USER1$ to be the path to the plugins
> # $USER1$=/usr/lib/nagios/plugins
> $USER1$=/usr/lib/netsaint/plugins

Der Pfad /usr/lib/netsaint exisitiert bei mir nicht, wohl aber:
EselX01:~# ls -al /usr/lib/nagios/
insgesamt 24
drwxr-xr-x   3 root root  4096 2005-01-03 12:11 .
drwxr-xr-x  57 root root 16384 2005-01-03 12:11 ..
drwxr-xr-x   3 root root  4096 2005-01-03 12:20 plugins

> > > das. '/etc/init.d/nagios start' bringt Gewissheit.
> > 
> > der läuft schon.
> 
> Schade. stop-start als restart ausprobiert?

Ja. Leider ohne Erfolg.

> Logfiles?

Hmm... lass mal schauen:
EselX01:~# tail -f /var/log/nagios/nagios.log
[1104783032] Error: Could not insert retention data for host 'gw' in
table 'hostretention'
[1104783032] Error: Could not insert retention data for host 'gw' in
table 'hostretention'
[1104783032] Error: Could not insert retention data for host 'gw' in
table 'hostretention'
...

Google gibt zu dem Fehler rein gar nichts aus. Jedes Mal wenn ich einen
klick auf einen Link in der Nagios Navigation mache, kommen noch so ein
paar Zeilen dazu.

> Alle Pfade lt.
> apache-nagios.conf überprüft?

Ja, alle Fehlerfrei.

Ich komm mit googeln gerade auch nicht mehr weiter...

Grüssle, Tobi



Reply to: