ansible-roles/nagios-nrpe
Benoît S. 961d9da5e5 Backport fix from Daniel Jakots
Original commit:

The code was taken from check_http_many which apparently deals only with return
codes 0, 1 and 2. Here, we uses check_nrpe which iff it can't connect, it
returns 255
(40717e320c).

So I decided that if the return code is greater or equal to 2, then we consider
it's critical. I can't see any return code greater than 2 which may not be
critical.
2018-07-10 11:32:18 +02:00
..
defaults ldap|nagios-nrpe: use external file for NRPE credentials 2018-01-24 16:49:07 +01:00
files/plugins Backport fix from Daniel Jakots 2018-07-10 11:32:18 +02:00
handlers Make nrpe role suitable for OpenBSD 2017-02-27 14:05:32 +01:00
meta Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
tasks nagios-nrpe: allowed_hosts can be updated 2018-01-23 17:41:58 +01:00
templates nagios-nrpe: add check_postgrey 2018-06-14 13:50:06 +02:00
tests Add tests for many roles 2017-05-18 15:44:21 +02:00
.kitchen.yml Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
README.md nagios-nrpe: document new variable 2018-01-23 18:34:04 +01:00

nagios-nrpe

Installation and custom configuration of Nagios NRPE server.

Tasks

Everything is in the tasks/main.yml file.

Available variables

  • nagios_nrpe_allowed_hosts : list of IP/hosts authorized (default: none).
  • nagios_nrpe_force_update_allowed_hosts : force update list of allowed hosts (default: False)

The full list of variables (with default values) can be found in defaults/main.yml.