Xymon Mailing List Archive search

Best way to override process detection for an individual server

2 messages in this thread

list Alex Krumm-Heller · Wed, 15 Jan 2014 14:29:24 +1100 ·
Hi,

I am using xymon 4.3.12. I am trying to use xymon to monitor processes
across a number of servers. We have our analysis.cfg file setup with a
regex entry to catch all the servers in our domain, but I then want to
override the check for a single server.

I have created an entry along the lines of:

HOST=%.*.foo.com
        PROC sshd 0 0 red HOST=fred.foo.com
        PROC sshd 1 -1 red

When using the above config the fred.foo.com server appears to be getting
both sshd criteria in the procs check, one looking for zero and one looking
for 1. Is there a way to override a check that runs across the whole domain
for a single server, so that fred.foo.com only looks for zero instances of
sshd?

Thanks

Alex
list Henrik Størner · Wed, 15 Jan 2014 09:16:27 +0100 ·
quoted from Alex Krumm-Heller
 

Den 15.01.2014 04:29, Alex Krumm-Heller skrev: 
I am using xymon
4.3.12. I am trying to use xymon to monitor processes across a number of
servers. We have our analysis.cfg file setup with a regex entry to catch
all the servers in our domain, but I then want to override the check for
a single server.
I have created an entry along the lines of: 

HOST=%.*.foo.com
PROC sshd 0 0 red HOST=fred.foo.com
PROC sshd 1 -1
red

When using the above config the fred.foo.com [1] server appears to
quoted from Alex Krumm-Heller
be getting both sshd criteria in the procs check, one looking for zero
and one looking for 1. Is there a way to override a check that runs

across the whole domain for a single server, so that fred.foo.com [2]
only looks for zero instances of sshd?
Add "EXHOST=fred.foo.com" to the
"sshd 1..." line. 

Regards
Henrik 

 
Links:
[1]
http://fred.foo.com
[2] http://fred.foo.com