[project @ peter@palfrader.org-20080403000934-v9r7egsnrx06jrx4]
[mirror/dsa-nagios.git] / nagios-master.cfg
index 993f5bf..86c5c93 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'"