projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make markup work for exim content inspection
[mirror/dsa-puppet.git]
/
modules
/
monit
/
files
/
puppet
diff --git
a/modules/monit/files/puppet
b/modules/monit/files/puppet
index
789c678
..
d1f5085
100644
(file)
--- a/
modules/monit/files/puppet
+++ b/
modules/monit/files/puppet
@@
-11,6
+11,10
@@
check process puppetd with pidfile /var/run/puppet/puppetd.pid
check file puppetstate
with path /var/lib/puppet/state/state.yaml
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
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"