aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xymon
diff options
context:
space:
mode:
authorBuchan Milne <buchan@mageia.org>2011-03-04 10:15:05 +0000
committerBuchan Milne <buchan@mageia.org>2011-03-04 10:15:05 +0000
commit83d38e503e9fbeb939b6a853047efe2d01cdd903 (patch)
tree22f087ddf33289197a6a957121532520e0fbad80 /modules/xymon
parent22dbd7f2a4c62033c4e49764194f7980c09488c9 (diff)
downloadpuppet-83d38e503e9fbeb939b6a853047efe2d01cdd903.tar
puppet-83d38e503e9fbeb939b6a853047efe2d01cdd903.tar.gz
puppet-83d38e503e9fbeb939b6a853047efe2d01cdd903.tar.bz2
puppet-83d38e503e9fbeb939b6a853047efe2d01cdd903.tar.xz
puppet-83d38e503e9fbeb939b6a853047efe2d01cdd903.zip
Clients should report attributes of /var/lib/puppet/state/state.yml
By default, check that puppet state.yml has been modified in last 90 mins By default, check for at least one, but not more than 2 instances of puppetd
Diffstat (limited to 'modules/xymon')
-rw-r--r--modules/xymon/templates/client-local.cfg1
-rw-r--r--modules/xymon/templates/hobbit-clients.cfg2
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/xymon/templates/client-local.cfg b/modules/xymon/templates/client-local.cfg
index 04165993..5a0d3b3c 100644
--- a/modules/xymon/templates/client-local.cfg
+++ b/modules/xymon/templates/client-local.cfg
@@ -81,6 +81,7 @@ log:/var/log/messages:10240
[linux]
log:/var/log/messages:10240
ignore MARK
+file:/var/lib/puppet/state/state.yml
[linux22]
log:/var/log/messages:10240
diff --git a/modules/xymon/templates/hobbit-clients.cfg b/modules/xymon/templates/hobbit-clients.cfg
index c65d3de5..10937a51 100644
--- a/modules/xymon/templates/hobbit-clients.cfg
+++ b/modules/xymon/templates/hobbit-clients.cfg
@@ -357,3 +357,5 @@ DEFAULT
MEMSWAP 50 80
MEMACT 90 97
CLOCK 60
+ FILE /var/lib/puppet/state/state.yml yellow mtime<5400
+ PROC puppetd 1 2