Nagios: Difference between revisions

From DWIKI
mNo edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 7: Line 7:
*[http://sourceforge.net/projects/nagios-db/ Nagios-db  stores data in sql]
*[http://sourceforge.net/projects/nagios-db/ Nagios-db  stores data in sql]


*[[nagiosgrapher]]
*[[nagiosgrapher]] (rather unfinished/poorly documented)
*[http://www.pnp4nagios.org/pnp/start pnp4nagios] ( for graphs )


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


=Plugins=
=Plugins=
==check software raid==
 
*http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1692.html;d=1
*[http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1692.html;d=1 check software raid]
*[http://exchange.nagios.org/directory/Uncategorized/IPMI-Sensor-Monitoring-Plugin/details IPMI Sensor Monitoring Plugin]


= FAQ =
= FAQ =
Line 28: Line 30:


==NRPE: Unable to read output==
==NRPE: Unable to read output==
This could mean the plugins are not installed ( yes, on debian nrpe comes without those :)
*This could mean the plugins are not installed ( yes, on debian nrpe comes without those :)
 


==CHECK_NRPE: Error receiving data from daemon. ==
==CHECK_NRPE: Error receiving data from daemon. ==
Line 39: Line 40:
==Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'!==
==Error: Could not stat() command file '/var/lib/nagios3/rw/nagios.cmd'!==
That's apache missing read rights to the path.
That's apache missing read rights to the path.


== 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.
Check on your system that the nrpe2 agent is compiled with ssl support.
 
Example:
 
[my_monitored_host] # ldd /usr/local/sbin/nrpe2
 
/usr/local/sbin/nrpe2:
        libssl.so.5 => /usr/lib/libssl.so.5 (0x80063a000)
        libcrypto.so.5 => /lib/libcrypto.so.5 (0x800784000)
        libwrap.so.5 => /usr/lib/libwrap.so.5 (0x800a16000)
        libc.so.7 => /lib/libc.so.7 (0x800b1f000)
 
It is OK, while:
 
[my_monitored_host] # ldd /usr/local/sbin/nrpe2
/usr/local/sbin/nrpe2:
        libcrypto.so.5 => /lib/libcrypto.so.5 (0x800784000)
        libc.so.7 => /lib/libc.so.7 (0x800b1f000)
 
is NOT ok.
 
 
 
[[:Category:Monitoring]]

Latest revision as of 18:30, 12 May 2016

Links

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

Plugins

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.


Could not read request from client, bailing out

Another rather useless message, it might mean one end is using ssl and other end not. Check on your system that the nrpe2 agent is compiled with ssl support.

Example:

[my_monitored_host] # ldd /usr/local/sbin/nrpe2

/usr/local/sbin/nrpe2:

       libssl.so.5 => /usr/lib/libssl.so.5 (0x80063a000)
       libcrypto.so.5 => /lib/libcrypto.so.5 (0x800784000)
       libwrap.so.5 => /usr/lib/libwrap.so.5 (0x800a16000)
       libc.so.7 => /lib/libc.so.7 (0x800b1f000)

It is OK, while:

[my_monitored_host] # ldd /usr/local/sbin/nrpe2

/usr/local/sbin/nrpe2:

       libcrypto.so.5 => /lib/libcrypto.so.5 (0x800784000)
       libc.so.7 => /lib/libc.so.7 (0x800b1f000)

is NOT ok.


Category:Monitoring