0. Update the system
apt-get update && apt-get upgrade
1. Install nagios nrpe & nagios plugins
apt-get install nagios-nrpe-server nagios-plugins
2. Configure NRPE
vi /etc/nagios/nrpe.cfg
Search for server_address and replace 120.0.0.1 for the public ip of this machine.
Search for allowed_hosts and replace 120.0.0.1 for the IP of your nagios server.
3. Restart NRPE
/etc/init.d/nagios-nrpe-server restart
That’s kinda it…