Nagios

From DWIKI
Revision as of 20:07, 2 August 2008 by Tony (talk | contribs) (→‎FAQ)

Links

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

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

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

The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking   external commands. 
An error occurred while attempting to commit your command for processing.

What it seems to mean is that the apache user can't access the file, because it's owned by nagios.nagios The rights to '/var/lib/nagios3/rw/' are plain wrong for this. I added www-data to group nagios and

chmod g+rwx /var/lib/nagios3/rw

Restarting nagios and apache might be a good idea :)