Xymon Mailing List Archive search

PORT check based on running PROC

list Asif Iqbal
Fri, 29 Jan 2010 17:17:30 -0500
Message-Id: <user-04f062e2b5ad@xymon.invalid>

On Wed, Jan 27, 2010 at 11:21 AM, Stef Coene <user-dbffe946c0f4@xymon.invalid> wrote:
On Wednesday 27 January 2010, Asif Iqbal wrote:
still looking for suggestion on this. reposting in case someone missed it
first time. thanks
You can make a client script that runs on both hosts.  If the processess
PROC
is running, it sets the variabele MACHINEDOTS to TEST1 and it runs the
script
hobbitclient.sh.
So you will get extra data on the hobbit server coming in from (fake)
server
TEST1.  If you add a line to bb-hosts with TEST1, you can monitor whatever
you
want for server TEST1.

The problem with this is, if PROC P dies on HOST A and appears on HOST B
after hobbit
client starts on both hosts, the MACHINEDOTS will not be to pick up the
change and will
still have the name.

Stef

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?