From b79a0211d0a0031612d999e5982d2ea3e29273d5 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 3 Apr 2008 08:51:48 -0400 Subject: [PATCH] [project @ peter@palfrader.org-20080403125148-o1a5l5j7d9pbpsye] Expect spamd and greylistd on all exim hosts --- nagios-master.cfg | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/nagios-master.cfg b/nagios-master.cfg index 694cebd..13b665c 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -276,17 +276,23 @@ services: - name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" - hosts: samosa + #hosts: samosa + hostgroups: computers + excludehostgroups: postfix-hosts - name: process - spamd - child nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'" - hosts: samosa + #hosts: samosa + hostgroups: computers + excludehostgroups: postfix-hosts depends: process - spamd - master ### - name: process - greylistd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u greylist -C greylistd -a '/usr/bin/python /usr/sbin/greylistd'" - hosts: samosa + #hosts: samosa + hostgroups: computers + excludehostgroups: postfix-hosts ### - -- 2.20.1