Monitoring local services on a remote machine with NRPE
In this recipe, we'll learn how to install and run an NRPE server on a target host, roma.naginet
. We'll use this to check the load average on that host with the check_load
plugin.
The plugins for these checks will be executed on the
target server by the NRPE daemon, but the results will be returned to our Nagios Core monitoring server olympus.naginet
. This requires installing the check_nrpe
plugin on the monitoring server, and the full Nagios Plugins set (but not Nagios Core itself) on the target server.
This is a reasonably long and in-depth recipe as it involves installing a total of three software packages on two servers.
Getting ready
You will need a monitoring server with Nagios Core 3.0 ...
Get Nagios Core Administration Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.