[project @ peter@palfrader.org-20080424132755-y1btgt95g8q6gfqh]
authorPeter Palfrader <peter@palfrader.org>
Thu, 24 Apr 2008 13:27:55 +0000 (13:27 +0000)
committerPeter Palfrader <peter@palfrader.org>
Thu, 24 Apr 2008 13:27:55 +0000 (13:27 +0000)
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

index 1a8505f..8a1db58 100644 (file)
@@ -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