[project @ peter@palfrader.org-20080403102457-lilrk9xzk8hwnat3]
[mirror/dsa-nagios.git] / nagios-master.cfg
index 993f5bf..8637c8a 100644 (file)
@@ -8,17 +8,17 @@
 # hosts
 #############################
 servers:
-  manda-debian-gw:
+  gw-MAN-DA-debian:
     address: 82.195.75.126
     hostgroups: routing-infrastructure
 
   bartok:
     address: 82.195.75.91
-    parents: manda-debian-gw
+    parents: gw-MAN-DA-debian
     hostgroups: computers, syslog-ng-hosts, postfix-hosts, dl385
   sperger:
     address: 82.195.75.98
-    parents: manda-debian-gw
+    parents: gw-MAN-DA-debian
     hostgroups: computers, sw-raid
 
 #############################
@@ -208,9 +208,15 @@ services:
  ###
   -
     name: process - clamav - clamd
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'"
     hostgroups: computers
     excludehostgroups: postfix-hosts
+  -
+    name: service - clamav
+    nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl"
+    hostgroups: computers
+    excludehostgroups: postfix-hosts
+    depends: process - clamav - clamd
   -
     name: process - clamav - freshclam
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'"
@@ -297,6 +303,11 @@ services:
     hostgroups: dl385
  ###
   -
-    name: process - raid - arrayprobe
+    name: RAID - arrayprobe
     nrpe: "sudo /usr/bin/arrayprobe"
     hostgroups: dl385
+ ###
+  -
+    name: RAID - sw raid
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-sw"
+    hostgroups: sw-raid