Most of the newer Nagios checks are run via NRPE (Nagios Remote Plugin Executor).
To configure the Nagios client to run you will need to download the nrpe source and compile it.
The latest version of nrpe can be found at: http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.12/nrpe-2.12.tar.gz/download
On your linux server, you can do the following:
1. wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.12/nrpe-2.12.tar.gz/download
2. tar -zxvf nrpe-2.12.tar.gz
3. ./configure
4. make all
5. mkdir /path/to/nagios; mkdir /path/to/nagios/bin; mkdir /path/to/nagios/etc; mkdir /path/to/nagios/libexec
6. mv src/nrpe /path/to/nagios/bin; mv src/check_nrpe /path/to/nagios/libexec
7. vi /etc/xinetd.d/nrpe
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
socket_type = stream
port = 5666
wait = no
user = nagios
group = nagios
server = /path/to/nagios/bin/nrpe
server_args = -c /path/to/nagios/etc/nrpe.cfg –inetd
log_on_failure += USERID
disable = no
}
8. Service xinetd reload
9. /path/to/nagios/libexec/check_nrpe -H localhost
It should return: “NRPE v2.12” if everything is configured properly.
10. The next step is to get the Nagios plugins in place. You can download the plugins here:
http://sourceforge.net/projects/nagiosplug/files/nagiosplug/1.4.15/nagios-plugins-1.4.15.tar.gz/download
On your linux server, run: wget http://sourceforge.net/projects/nagiosplug/files/nagiosplug/1.4.15/nagios-plugins-1.4.15.tar.gz/download
11. tar -zxvf nagios-plugins-1.4.15.tar.gz
12. ./configure –prefix /path/to/nagios
13. make
14. make install
15. Your plugins should now be installed.