PORT check based on running PROC
Asif Iqbal
vadud3 at gmail.com
Mon Jan 25 23:49:59 CET 2010
On Mon, Jan 25, 2010 at 5:36 PM, Asif Iqbal <vadud3 at gmail.com> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100125/1c4d3342/attachment.html>
More information about the Xymon
mailing list