Xymon Mailing List Archive search

PORT check based on running PROC

list Asif Iqbal
Wed, 27 Jan 2010 11:02:03 -0500
Message-Id: <user-1b464b2a466e@xymon.invalid>

still looking for suggestion on this. reposting in case someone missed it
first time. thanks


On Mon, Jan 25, 2010 at 5:49 PM, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:
On Mon, Jan 25, 2010 at 5:36 PM, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:
How do I do PORT tests as a condition to running PROC ?

In other words do the PORT test and alert me only if PROC A is running.
Otherwise ignore.

 Let me make the scenario little bit more interesting.

I have HOST A and HOST B. hobbit client is running on both of them.
If process P should be run only on one of them at a time and that will make
that
HOST, the primary HOST.

So if process P runs on HOST A then I want to be alerted based on PORT
tests on HOST A

if process P runs on HOST B then I want to be alerted based on PORT tests
on HOST B

If process P runs on both HOSTs then I want to be alerted about POST tests
on both HOSTs.
However this third scenario should not happen

I was thinking of creating an entry in bb-hosts with a dynamic HOST name
which will be something like

HOST=%IamPrimary.*
  PROC ..
  PORT ..

That probably makes it a lot more complicated than it may already is.

Please advise.

Thanks

--
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?

--
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?

-- 
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?