From 3f46bca0c8dab771e625982add4ffeb4382b8683 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 17 May 2013 10:32:54 +0200 Subject: [PATCH] Also warn on state==ZNs --- config/nagios-master.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 6d4b66c..d87844a 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -2524,7 +2524,8 @@ services: contact_groups: buildd - name: processes - zombie schroot - nrpe: "/usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0" + #nrpe: "/usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0" + nrpe: "(/usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0 > /dev/null || /usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0) && /usr/lib/nagios/plugins/check_procs -a schroot -s ZNs -c 0" hostgroups: buildd contact_groups: +buildd #### -- 2.20.1