monitoring rules
list Stef Coene
Hi, I need to document the monitoring rules that are used by Xymon. I can try to parse the hobbit-clients.cfg config file, but I need the information sorted by server. So, is there a way to ask the xymon server 'hey, what monitoring rules do you use for serverX ?' ? Stef
list Thomas R. Brand
Hi, I need to check whether one, but not both of two processes is running. If either process is running, I should get a green light. If both are running, or neither one is running, I need to yellow flag it. Is there some way to do this with a PROC rule in hobbit-client ? Thanks, Tom
list Buchan Milne
▸
On Wednesday 10 June 2009 15:29:08 Stef Coene wrote:
Hi, I need to document the monitoring rules that are used by Xymon. I can try to parse the hobbit-clients.cfg config file, but I need the information sorted by server. So, is there a way to ask the xymon server 'hey, what monitoring rules do you use for serverX ?' ?
Besides the configuration report page, viewed from a host-specific page (e.g. after clicking on the 'info' icon)?
list Stef Coene
▸
On Thursday 11 June 2009, Buchan Milne wrote:
On Wednesday 10 June 2009 15:29:08 Stef Coene wrote:Hi, I need to document the monitoring rules that are used by Xymon. I can try to parse the hobbit-clients.cfg config file, but I need the information sorted by server. So, is there a way to ask the xymon server 'hey, what monitoring rules do you use for serverX ?' ?Besides the configuration report page, viewed from a host-specific page (e.g. after clicking on the 'info' icon)?
The configuration report page is a start, but the information on that page is hard to parse. Also, not all monitoring rules are included on that page. Stef
list Kevin Kelly
In the file hobbit-clients.cfg You can have something like HOST=server PROC cron 1 1 This would be a min of 1 and a max of 1.
▸
-----Original Message-----
From: Brand, Thomas R. [mailto:user-10a840458972@xymon.invalid]
Sent: Wednesday, June 10, 2009 4:09 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Checking for mutually exclusive processes
Hi,
I need to check whether one, but not both of two processes is running.
If either process is running, I should get a green light.
If both are running, or neither one is running, I need to yellow flag
it.
Is there some way to do this with a PROC rule in hobbit-client ?
Thanks,
Tom
This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
list Thomas R. Brand
Hi Kevin,
Unfortunately, that isn't what I need.
Given ProcessA and ProcessB,
If ProcessA is running AND ProcessB is running
then YELLOW
else if ProcessA is NOT running AND ProcessB is NOT running
then YELLOW
else GREEN
ProcessA and ProcessB are mutually exclusive; one OR the other must be running, but not BOTH.
▸
-----Original Message----- From: Kevin Kelly [mailto:user-46671a9fcf56@xymon.invalid] Sent: Thursday, June 11, 2009 7:49 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Checking for mutually exclusive processes In the file hobbit-clients.cfg You can have something like HOST=server PROC cron 1 1 This would be a min of 1 and a max of 1. -----Original Message----- From: Brand, Thomas R. [mailto:user-10a840458972@xymon.invalid] Sent: Wednesday, June 10, 2009 4:09 PM To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Checking for mutually exclusive processes Hi, I need to check whether one, but not both of two processes is running. If either process is running, I should get a green light. If both are running, or neither one is running, I need to yellow flag it. Is there some way to do this with a PROC rule in hobbit-client ? Thanks, Tom This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email
list Daniel Hartmeier
▸
On Thu, Jun 11, 2009 at 08:50:02AM -0400, Brand, Thomas R. wrote:
Given ProcessA and ProcessB,
If ProcessA is running AND ProcessB is running
then YELLOW
else
if ProcessA is NOT running AND ProcessB is NOT running
then YELLOW
else GREEN
ProcessA and ProcessB are mutually exclusive; one OR the other must
be running, but not BOTH.PROC %(ProcessA|ProcessB) 1 1 yellow Daniel
list Thomas R. Brand
Beautiful.... Too simple! Thanks!
▸
-----Original Message----- From: Daniel Hartmeier [mailto:user-30a162321ef9@xymon.invalid] Sent: Thursday, June 11, 2009 9:02 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Checking for mutually exclusive processes On Thu, Jun 11, 2009 at 08:50:02AM -0400, Brand, Thomas R. wrote:Given ProcessA and ProcessB, If ProcessA is running AND ProcessB is running then YELLOW else if ProcessA is NOT running AND ProcessB is NOT running then YELLOW else GREEN ProcessA and ProcessB are mutually exclusive; one OR the other must be running, but not BOTH.PROC %(ProcessA|ProcessB) 1 1 yellow Daniel