From 4587971a12b122f875c5ffe2791b52022df5c1e1 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 4 May 2018 20:02:36 +0200 Subject: [PATCH] library/roles/nagios/templates/common-nrpe.cfg.j2: Fix a typo. --- nagios/templates/common-nrpe.cfg.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nagios/templates/common-nrpe.cfg.j2 b/nagios/templates/common-nrpe.cfg.j2 index 94bb235..f9b244a 100644 --- a/nagios/templates/common-nrpe.cfg.j2 +++ b/nagios/templates/common-nrpe.cfg.j2 @@ -7,7 +7,9 @@ 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% {% 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