[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] alert on proc while both hosts running the same process at the same time
- To: xymon (at) xymon.com
- Subject: Re: [xymon] alert on proc while both hosts running the same process at the same time
- From: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Tue, 13 Jul 2010 10:54:31 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <AANLkTikguaPqzqP3QN_-0RApKFu1RI6D0-OihOhVcLBn (at) mail.gmail.com>
- User-agent: nn/6.7.3
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