From 83d38e503e9fbeb939b6a853047efe2d01cdd903 Mon Sep 17 00:00:00 2001 From: Buchan Milne Date: Fri, 4 Mar 2011 10:15:05 +0000 Subject: 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 --- modules/xymon/templates/client-local.cfg | 1 + modules/xymon/templates/hobbit-clients.cfg | 2 ++ 2 files changed, 3 insertions(+) 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 -- cgit v1.2.1