Xymon Mailing List Archive search

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

list Henrik Størner
Tue, 13 Jul 2010 10:54:31 +0000 (UTC)
Message-Id: <i1hgl7$9kq$user-7fe75da36485@xymon.invalid>

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"


Regards,
Henrik