[xymon] alert on proc while both hosts running the same process at the same time
Henrik Størner
henrik at hswn.dk
Tue Jul 13 12:54:31 CEST 2010
In <AANLkTikguaPqzqP3QN_-0RApKFu1RI6D0-OihOhVcLBn at mail.gmail.com> Asif Iqbal <vadud3 at gmail.com> 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
More information about the Xymon
mailing list