[project @ peter@palfrader.org-20080424192613-gzzlhgvq802l9b9h]
authorPeter Palfrader <peter@palfrader.org>
Thu, 24 Apr 2008 19:26:13 +0000 (19:26 +0000)
committerPeter Palfrader <peter@palfrader.org>
Thu, 24 Apr 2008 19:26:13 +0000 (19:26 +0000)
raid sg

nagios-master.cfg

index a77b99f..2273e09 100644 (file)
@@ -483,6 +483,8 @@ servicegroups:
     alias: diskusage checks
   buildd:
     alias: buildd checks
+  raid:
+    alias: raid checks
 
 #############################
 # services
@@ -1064,25 +1066,30 @@ services:
  ###
   -
     name: process - mdadm monitor
+    servicegroups: raid
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan'"
     hostgroups: sw-raid
   -
     name: RAID - sw raid
+    servicegroups: raid
     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
     hostgroups: sw-raid
 
  ###
   -
     name: process - cpqarrayd
+    servicegroups: raid
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'"
     hostgroups: dl385, dl380, dl360
   -
     name: RAID - arrayprobe
+    servicegroups: raid
     nrpe: "sudo /usr/bin/arrayprobe"
     hostgroups: dl385, dl380, dl360
  ###
   -
     name: RAID - DAC960
+    servicegroups: raid
     nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-dac960"
     hosts: verdi