[project @ peter@palfrader.org-20080403125511-kzur003aksqwpt1g]
[mirror/dsa-nagios.git] / nagios-master.cfg
index 694cebd..9a5ccdc 100644 (file)
@@ -36,6 +36,7 @@ servers:
 
   master:
     address: 70.103.162.29
+    parents: gw-brainfood
     hostgroups: computers, apache2-hosts, bind9-hosts
 
 #############################
@@ -276,17 +277,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
 
  ###
   -