update nagios for puppet in cron
authorStephen Gran <steve@lobefin.net>
Tue, 21 Jul 2009 14:57:21 +0000 (15:57 +0100)
committerStephen Gran <steve@lobefin.net>
Tue, 21 Jul 2009 14:57:21 +0000 (15:57 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
config/nagios-master.cfg

index 06458ff..f78f3ab 100644 (file)
@@ -920,15 +920,9 @@ services:
     retry_check_interval: 5
 
  ####
-  -
-    name: process - puppet
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C ruby -a 'ruby /usr/sbin/puppetd -w 5 --factsync'"
-    hostgroups: lenny
-    excludehosts: agnesi
-
   -
     name: puppet
-    nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -f /var/lib/puppet/state/state.yaml"
+    nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -i 300 -f /var/lib/puppet/state/state.yaml"
     hostgroups: lenny
     excludehosts: agnesi