- Install NRPE and Nagios Plugins.
sudo apt-get install nagios-nrpe-server nagios-plugins
- Configure NRPE.
Change your nrpe configurtion, open
/etc/nagios/nrpe.cfg
then change these lines:
servers_address = <actual_ip_of_this_host>
allowed_hosts=127.0.0.1, <nagios_monitoring_host>
Save it and exit.
- Restart nagios-nrpe-server service.