diff --git a/nagios/templates/common-nrpe.cfg.j2 b/nagios/templates/common-nrpe.cfg.j2 index 9e2d76cc..94bb235e 100644 --- a/nagios/templates/common-nrpe.cfg.j2 +++ b/nagios/templates/common-nrpe.cfg.j2 @@ -7,7 +7,7 @@ command[global_check_memory]={{ nagios_plugins_dir }}/check_memory.xenial -u M - {% else %} command[global_check_memory]={{ nagios_plugins_dir }}/check_memory -u M -w 5% -c 1% {% endif %} -command[global_check_swap]={{ nagios_plugins_dir }}/check_swap -w 20% -c 5% +command[global_check_swap]={{ nagios_plugins_dir }}/check_swap -w 20% -c 5% {% if ansible_distribution_release == 'xenial' %}-n ok{% endif %} command[global_check_zombie_procs]={{ nagios_plugins_dir }}/check_procs -w 5 -c 10 -s Z command[global_check_total_procs]={{ nagios_plugins_dir }}/check_procs -w 800 -c 1000