Generalize (and simplify) the puppet file age check so that we can reuse
[mirror/dsa-nagios.git] / config / nagios-master.cfg
index 2b081b5..4e8e79c 100644 (file)
@@ -893,7 +893,7 @@ services:
 
   -
     name: puppet
-    nrpe: "/usr/lib/nagios/plugins/dsa-check-puppet"
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-file-age -f /var/lib/puppet/state/state.yaml"
     hostgroups: lenny
     excludehosts: agnesi
 
@@ -1081,6 +1081,7 @@ services:
     name: process - syslog-ng
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng  -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'"
     hostgroups: lenny
+    excludehosts: agnesi
  ###
  # -
  #   name: process - rsyslogd