From 7193f6eb2d1f2a8a360fd6da66f7334ff1c335e7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 24 Apr 2008 13:27:55 +0000 Subject: [PATCH] [project @ peter@palfrader.org-20080424132755-y1btgt95g8q6gfqh] If anvil does not yet run the master will restart it when needed. so only check if there is more than one --- nagios-master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nagios-master.cfg b/nagios-master.cfg index 1a8505f..8a1db58 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -913,7 +913,7 @@ services: depends: process - postfix - master - name: process - postfix - anvil - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:1 -c 1: -u postfix -C anvil -a 'anvil -l -t unix -u'" hostgroups: postfix-hosts depends: process - postfix - master -- 2.20.1