ansible-roles/nagios-nrpe
Benoît S. 10385ecf4d nagios-nrpe: check_amavis: Update regex
I just installed a Debian Stretch with a pack mail and the check_amavis
was not checking the right regex.

Amavis is returning:
2.7.0 Ok, discarded, id=17556-09 - INFECTED: Eicar-Signature
So the regex should be:
-if ($result =~/2.7.0 Ok, discarded, id=[^,]+ - INFECTED: Eicar-Test-Signature/) {
+if ($result =~/2.7.0 Ok, discarded, id=\S+ - INFECTED: Eicar-Signature/) {
2020-08-21 14:51:30 +02:00
..
defaults nagios-nrpe / evolinux-base : new ntp server variable 2020-08-21 14:51:30 +02:00
files/plugins nagios-nrpe: check_amavis: Update regex 2020-08-21 14:51:30 +02:00
handlers Make nrpe role suitable for OpenBSD 2017-02-27 14:05:32 +01:00
meta change repositories URL 2019-03-21 15:31:58 +01:00
tasks Change "|search" with "is search" 2019-12-31 16:18:56 +01:00
templates nagios-nrpe: Add check_hpraid in template 2020-08-21 14:51:30 +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

README.md

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.