Use a contact_group for buildd. This is both shorter, and allows
authorStephen Gran <steve@lobefin.net>
Wed, 27 Jul 2011 07:15:57 +0000 (08:15 +0100)
committerStephen Gran <steve@lobefin.net>
Wed, 27 Jul 2011 07:15:57 +0000 (08:15 +0100)
unsetting the default dsa contact_group.
Signed-off-by: Stephen Gran <steve@lobefin.net>
config/nagios-master.cfg
config/static/conf.d/contacts.cfg

index f7534ea..f0f4a1c 100644 (file)
@@ -2286,16 +2286,14 @@ services:
     servicegroups: buildd
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:5 -u buildd -C perl -a '/usr/bin/buildd'"
     hosts: fano, fasch, field, finzi
-    contacts: luk, pkern, HE
-    contact_groups:
+    contact_groups: buildd
   -
     name: process - buildd
     servicegroups: buildd
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:5 -u buildd -C buildd -a '/usr/bin/buildd'"
     hostgroups: buildd
     excludehosts: fano, fasch, field, finzi
-    contacts: luk, pkern, HE
-    contact_groups:
+    contact_groups: buildd
 
  ###
   #-
index b46cbe0..36c9cf0 100644 (file)
@@ -195,3 +195,9 @@ define contactgroup{
         alias                   Debian System Administrators
         members                 weasel, zobel, sgran
         }
+
+define contactgroup{
+        contactgroup_name       buildd
+        alias                   Debian Buildd Admins
+        members                 luk, pkern, HE
+        }