check file puppetstate
with path /var/lib/puppet/state/state.yaml
- if timestamp > 45 minutes for 3 cycles then exec "/etc/init.d/puppet stop"
+ if timestamp > 90 minutes for 9 cycles then exec "/etc/init.d/puppet stop"
depends on puppetd
+check file cronalive
+ with path /var/cache/dsa/cron.alive
+ # a cycle is 5 minutes, 24 cycles is thus 2 hours
+ if timestamp > 120 minutes for 24 cycles then exec "/etc/init.d/cron restart"