5.3 The Nagios Remote Plugin Executor

An alternative method of running plugins installed on the target computer via the secure shell is represented by the Nagios Remote Plugin Executor (NRPE). Figure 5-1 (page 100) illustrates this with the middle client.

The NRPE is installed on the target host and started via the inet daemon, which must be configured accordingly. If NRPE receives a query from the Nagios server via the (selectable) TCP port 5666, it will run the matching query for this. As with the method using the Secure Shell, the plugin that is to perform the test must be installed on the target host.

So all of this is somewhat more work than using the Secure Shell, especially as SSH should be installed on almost every Unix machine, and when ...

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.