10.2 Starting via the inet Daemon

It is best to start the program nrpe on the machine to be monitored via the inet daemon rather than as a separate daemon, since the Nagios server only performs the tests occasionally, and nrpe does not need to load any large resources.

If you have a choice, you should use the more modern xinetd. But to keep work to a minimum, the inet daemon will normally be used, as it is already running on the target system. In order that NRPE can be started as a service via inetd or xinetd, the nrpe service is defined in the file /etc/services:

nrpe 5666/tcp # Nagios Remote Plugin Executor NRPE

Even if this has been installed as a package, you should still check to see whether this entry exists. By default, NRPE uses TCP port ...

Get Nagios, 2nd Edition 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.