[project @ peter@palfrader.org-20080403125148-o1a5l5j7d9pbpsye]
authorPeter Palfrader <peter@palfrader.org>
Thu, 3 Apr 2008 12:51:48 +0000 (08:51 -0400)
committerPeter Palfrader <peter@palfrader.org>
Thu, 3 Apr 2008 12:51:48 +0000 (08:51 -0400)
Expect spamd and greylistd on all exim hosts

nagios-master.cfg

index 694cebd..13b665c 100644 (file)
@@ -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
 
  ###
   -