projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prepare a named-security module that handles the config that is currently in dsa...
[mirror/dsa-puppet.git]
/
modules
/
monit
/
files
/
puppet
diff --git
a/modules/monit/files/puppet
b/modules/monit/files/puppet
index
37c728b
..
ab3fe14
100644
(file)
--- a/
modules/monit/files/puppet
+++ b/
modules/monit/files/puppet
@@
-9,3
+9,8
@@
check process puppetd with pidfile /var/run/puppet/puppetd.pid
if cpu > 60% for 5 cycles then restart
if 5 restarts within 5 cycles then timeout
if cpu > 60% for 5 cycles then restart
if 5 restarts within 5 cycles then timeout
+check file puppetstate
+ with path /var/lib/puppet/state/state.yaml
+ if timestamp > 90 minutes for 9 cycles then exec "/etc/init.d/puppet stop"
+ depends on puppetd
+