NagiosNRPE
Nagios plugins
- Nagios doesn't come by default with the NRPE functionality enabled.
- Beware: although Nagios RPMs are distributed with Quattor, the NRPE RPMs are not.
- On this page an incomplete list of plugins can be found together with some information.
Enable NRPE for Nagios
- To install this addon follow following documentation:
- http://danielaliaman.com/blog///index.php/2009/03/06/install_nrpe_on_debian_host?blog=2
- nagios.sourceforge.net/docs/nrpe/NRPE.pdf
- there are a few things to change during the configuration:
- The nagios plugins can be found here:
wget http://sourceforge.net/projects/nagiosplug/files/nagiosplug/1.4.15/nagios-plugins-1.4.15.tar.gz
- The nrpe tarball can be found here
wget http://waix.dl.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
- The ./configure might fail due to error: Cannot find ssl headers. This is solved by installing following rpm package
yum install openssl-devel
Some plugin scripts
- The scripts performing the NRPE checks on the remote client are located in
/usr/lib64/nagios/plugins
- Script for disk usage is available: check_disk
- Script for cpu load is available: check_load
- Script for mem usage is not available: http://osdir.com/ml/network.nagios.plugins/2005-06/msg00062.html or http://www.linuxquestions.org/questions/linux-software-2/nagios-check-ram-usage-on-remote-server-747531/ or http://www.notrainers.org/monitoring-memory-usage-on-linux-with-nagios-and-nrpe/ or http://www.unixdaemon.net/nagios-plugins.html#check_linux_free_memory
- Script for swap usage is available: check_swap
- Nagios plugin for dcache: https://portal.nordu.net/display/ndgfwiki/dCache+checker+for+NAGIOS
- Nagios plugins at gridpp: http://www.gridpp.ac.uk/wiki/Nagios_Plugins
- Some plugins are under development and not yet in the RPM (it is now)
- For the raid checks additional Quattor templates were made nagios_plugins_check_hw_raid_hp and nagios_plugins_check_hw_raid.
- The scripts were placed with filecopy but they have been added to the RPM as well, so the additional templates can be phased out
- Nagios and SNMP checks: