From: Peter Palfrader Date: Thu, 24 Apr 2008 13:27:55 +0000 (+0000) Subject: [project @ peter@palfrader.org-20080424132755-y1btgt95g8q6gfqh] X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=7193f6eb2d1f2a8a360fd6da66f7334ff1c335e7;p=mirror%2Fdsa-nagios.git [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 --- 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