O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required