From 7fac63e0716e5ccd84b6667a1db1a0e5e86716fd Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 4 May 2018 17:06:49 +0200 Subject: [PATCH] Fix the nagios check for the swap space on Ubuntu Xenial --- nagios/templates/common-nrpe.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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