configure nagios check for remote logging
[mirror/dsa-nagios.git] / config / nagios-master.cfg
index 0929c4b..b205bdc 100644 (file)
@@ -246,11 +246,10 @@ servers:
     parents: gw-man-da
     hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, amavis-hosts, dl385, acpid-hosts
     contacts: bzed
-#  auber:
-#    address: 82.195.75.101
-#    parents: gw-man-da
-#    hostgroups: computers, no-udev, buildd, sw-raid
-#    contacts: bzed
+  heininen:
+    address: 82.195.75.98
+    parents: gw-man-da
+    hostgroups: computers, ulogd-hosts, acpid-hosts
   unger:
     address: 82.195.75.102
     parents: gw-man-da
@@ -1286,6 +1285,11 @@ services:
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C syslog-ng  -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'"
     hostgroups: squeeze
 
+  -
+    name: remote logging
+    remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-log-age-loghost $HOSTNAME$"
+    runfrom: heininen
+    hostgroups: computers
  ### MAIL STUFF
  ###
   -