[project @ peter@palfrader.org-20080405224245-g85gx8kzpnyw0tsv]
authorPeter Palfrader <peter@palfrader.org>
Sat, 5 Apr 2008 22:42:45 +0000 (18:42 -0400)
committerPeter Palfrader <peter@palfrader.org>
Sat, 5 Apr 2008 22:42:45 +0000 (18:42 -0400)
liszt is hard to place in our list of email setup groups

nagios-master.cfg

index 70faaee..0d48fe6 100644 (file)
@@ -343,6 +343,9 @@ hostgroups:
   bind9-hosts:
     alias: hosts running bind9
     private: 1
+  amavis-hosts:
+    alias: hosts running amavis
+    private: 1
   ftpd-hosts:
     alias: hosts running vsftpd
     private: 1
@@ -601,12 +604,13 @@ 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: liszt
     hostgroups: heavy-exim
     excludehosts: rietz
   -
     name: process - spamd - child
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'"
+    hosts: liszt
     hostgroups: heavy-exim
     depends: process - spamd - master
     excludehosts: rietz
@@ -625,6 +629,7 @@ services:
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd"
     hostgroups: computers
     excludehostgroups: heavy-exim
+    excludehosts: listz
 
  ###
   -
@@ -653,18 +658,20 @@ services:
   -
     name: process - amavis - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'"
-    hostgroups: heavy-postfix
+    hostgroups: amavis-hosts
+    excludehosts: liszt
   -
     name: process - amavis - all
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '"
-    hostgroups: heavy-postfix
+    hostgroups: amavis-hosts
+    excludehosts: liszt
     depends: process - amavis - master
   #
   -
     name: unwanted process - amavis
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new"
     hostgroups: computers
-    excludehostgroups: heavy-postfix
+    excludehostgroups: amavis-hosts
  ###
   -
     name: process - weightd - master
@@ -682,7 +689,7 @@ services:
     depends: process - weightd - master
   #
   -
-    name: unwanted process - amavis
+    name: unwanted process - policyd-weight
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight"
     hostgroups: computers
     excludehostgroups: heavy-postfix