Nagios: Difference between revisions

From DWIKI
Line 42: Line 42:


=== an example for recover this: ===
=== an example for recover this: ===
 
/*
$sudo dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3
$sudo dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3


thanks for "Lars Schenk "
thanks for "Lars Schenk "
*/


== Could not read request from client, bailing out==
== Could not read request from client, bailing out==
another rather useless message, it might mean one end is using ssl and other end not
another rather useless message, it might mean one end is using ssl and other end not

Revision as of 04:53, 9 November 2009

Links

there seem to be issues with check_procs on solaris, pst3 and config.h - #define PS_COMMAND are the keywords here

Plugins

check software raid

FAQ

Hosts or services simply not showing up

Check if you have more than one instances of nagios running

Debian complaining about rights on nagios.cmd

dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios2/rw
dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios2


NRPE: Unable to read output

This could mean the plugins are not installed ( yes, on debian nrpe comes without those :)


CHECK_NRPE: Error receiving data from daemon.

Possibly SSL version mismatch, try check_nrpe -n

(No output returned from plugin)

Most likely ssl mismatch again. It can also mean you're using debian, where check_nrpe!check_something fails, since it expects one more argument. call 'check_nrpe_1arg' instead.

Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'!

That's apache missing read rights to the path.

an example for recover this:

/* $sudo dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3

thanks for "Lars Schenk "

  • /

Could not read request from client, bailing out

another rather useless message, it might mean one end is using ssl and other end not