The next step is to set up Nagios to use NRPE for performing checks via a remote machine. Using NRPE for performing checks requires creating one or more commands that will use the check_nrpe
plugin to send actual check requests to a remote machine.
The syntax of the plugin is as follows:
check_nrpe -H <host> [-n] [-u] [-p <port>] [-t <timeout>] [-c <command>] [-a <arglist...>]
The following table describes all of the options accepted by the plugin. The items required are marked in bold:
Option |
Description |
---|---|
-H, --host |
The host name or IP address of the machine to connect to; this option must be specified |
-c, --command |
The name of the command that should be executed; the command needs to be defined in the |
-n, --no-ssl |
Disables SSL for communication |
-p, --port |
Connects to the specified port; defaults to |
-t, --timeout |
The number of seconds after which a connection will be terminated... |