Xymon Mailing List Archive search

alert on proc while both hosts running the same process at the same time

list Asif Iqbal
Tue, 13 Jul 2010 08:56:43 -0400
Message-Id: <user-c3e2300d9b5f@xymon.invalid>

On Tue, Jul 13, 2010 at 6:54 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-23f12932eaa9@xymon.invalid> Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> writes:
HOST=%host1|host2
 PROC  myproc ?? ??
How do I setup using PROC or may be some other method to alert when a process
myproc is running either on both server or on no server?
With a combo-test. In bbcombotest.cfg you put

  host12.proc = (host1.proc + host2.proc) == 1

and then add a pseudo-host "host12" in bb-hosts for the combined status.

  0.0.0.0 host12 # noconn "COMMENT:host1+2 process cluster"
thanks to all of you for the server side ext suggestion. that was one
of the option
I mentioned in my email. I guess that means can't do it with stock
hobbit. I will
need to create a separate service column for just that one process. no problem.
thanks again
Regards,
Henrik

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