add service group time
authorPeter Palfrader <peter@palfrader.org>
Tue, 28 Feb 2012 17:45:47 +0000 (18:45 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 28 Feb 2012 17:45:47 +0000 (18:45 +0100)
config/nagios-master.cfg

index 0f4e0e0..12d85a3 100644 (file)
@@ -1181,6 +1181,8 @@ servicegroups:
     alias: apt upgrade status
   samhain:
     alias: samhain integrity status
+  time:
+    alias: time stuff
   security:
     alias: security
     servicegroup_members: apt, weaksshkeys, kernel, samhain
@@ -1594,6 +1596,7 @@ services:
     name: process - ntpd
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -p 1 -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
     hostgroups: computers
+    servicegroups: time
   -
     name: network service - ntp
     check: dsa_check_ntp
@@ -1601,12 +1604,14 @@ services:
     depends: process - ntpd
     excludehosts: ancina
     excludehostgroups: ntpsuckers
+    servicegroups: time
   #
   -
     name: network service - time
     check: dsa_check_time
     hosts: ancina
     depends: process - xinetd
+    servicegroups: time
 
  ###
   -