Installing the NRPE client, daemon and nagios plugins on debian

We assuming have already configured nrpe on your nagios box and you are sudo’d/root


adduser nagios (set the password)
cd /home/nagios
* If this step fails visit for the latest URL

tar -zxvf nrpe-2.8.tar.gz
cd nrpe-2.12
apt-get install gcc gawk openssl
apt-get install make
apt-get install libssl-dev
apt-get install nagios-plugins
make all
make install-plugin
make install-daemon
make install-daemon-config
echo “only_from =” >> /usr/local/nagios/etc/nrpe.cfg
* Remember to replace with your the IP address of your nagios server

cp init-script.debian /etc/init.d/nrpe
chmod 700 /etc/init.d/nrpe
/etc/init.d/nrpe start

You may want to make this script run on start up
update-rc.d nrpe defaults

Leave a Reply

Your email address will not be published. Required fields are marked *