5.24. nrpe

Nagios NRPE (v2) check.

loader

lua

object

noit.module.nrpe

5.24.1. Module Configuration

5.24.2. Check Configuration

port
required

required

allowed

\d+

Specifies the port on which the management interface can be reached.

use_ssl
required

optional

default

true

allowed

^(?:true|false|on|off)$

Upgrade TCP connection to use SSL.

command
required

required

allowed

.+

Command to run on the remote node.

append_uom
required

optional

allowed

(?:true|false|on|off)

If the value comes back with a unit of measure, append it to the metric name.

Example 5.25. Checking load via NRPE.

This check runs check_load on the remote host.

      <noit>
        <modules>
          <loader image="lua" name="lua">
            <config><directory>/opt/reconnoiter/libexec/modules-lua/?.lua</directory></config>
          </loader>
          <module loader="lua" name="nrpe" object="noit.module.nrpe" />
        </modules>
        <checks>
          <check uuid="79ba881e-ad2e-11de-9fb0-a322e3288ca7" name="load"
                 target="10.0.7.2" module="nrpe" period="10000" timeout="5000">
            <config><comand>check_load</command></config>
          </check>
        </checks>
      </noit>