diff --git a/README.md b/README.md index 38e189f..459ea13 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ NRPE allows monitoring tools like NAGIOS or ICINGA to connect to clients for mon - nrpe.cfg - manage sudo role for nagios user on NRPE clients - manage dynamic NRPE check command definitions -- manage iptables (optional). set `ne_incl_fw`to `true`. +- manage iptables (optional). set `ne_incl_fw`to `true` - manage selinux rule exceptions (optional) - manage NRPE service @@ -72,7 +72,7 @@ node 'example.example.net' { - through Foreman: -In order to apply parameters through Foreman, **__confdroid_nrpe::params__*- must be added to the host or host group in question, unless the defaults are fully acceptable across the estate. +In order to apply parameters through Foreman, **confdroid_nrpe::params**- must be added to the host or host group in question, unless the defaults are fully acceptable across the estate. See [more details about class deployment on Confdroid.com](https://confdroid.com/2017/05/deploying-our-puppet-modules/). diff --git a/manifests/commands/definition_rules.pp b/manifests/commands/definition_rules.pp index 3222a7c..c63e6e6 100644 --- a/manifests/commands/definition_rules.pp +++ b/manifests/commands/definition_rules.pp @@ -65,5 +65,10 @@ class confdroid_nrpe::commands::definition_rules ( ne_check_cmd => 'check_swap', ne_cmd_argstring => '-w $ARG1$ -c $ARG2$', } + + confdroid_nrpe::commands::definitions { 'check_fail2ban': + ne_check_cmd => 'check_procs', + ne_cmd_argstring => '-c $ARG1$ -C $ARG2$', + } } }