Skip to content

shinken-monitoring/mod-booster-nrpe

Repository files navigation

image

NRPE Module

What is it

The NRPE module allows Shinken Pollers to bypass the launch of the check_nrpe process. It reads the check command and opens the connection by itself. It scales the use of NRPE for active supervision of servers hosting NRPE agents.

The command definitions should be identical to the check_nrpe calls.

Requirements

Please install pyOpenssl Python wrapper module around the OpenSSL library.

How to define it

The definition is very easy (and you probably just have to uncomment it):

define module{
     module_name       booster-nrpe
     module_type       nrpe_poller
}

Then you add it to your poller object:

define poller {
    [...]
    modules    booster-nrpe
}

Then just tag all your check_nrpe commands with this module:

define command {
   command_name   check_nrpe
   command_line   $USER1$/check_nrpe -H $HOSTADRESS$ -c $ARG1$ -a $ARG2$
   module_type    nrpe_poller
}

That's it. From now on all checks that use this command will use Shinken's NRPE module and will be launched by it.