Shinken module for boosting NRPE connections
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
booster_nrpe
doc
etc/modules
test
.gitignore
.travis.yml
LICENSE
README.rst
package.json
test-requirements-py26.txt
test-requirements.txt

README.rst

https://api.travis-ci.org/shinken-monitoring/mod-booster-nrpe.svg?branch=master

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.