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

Vernon Everett everett.vernon at gmail.com
Wed Jul 14 01:12:01 CEST 2010


Henrik's solution with combo tests is the easiest, but might give
false positives if you are monitoring other procs as well as the
cluster processes.
Mine is a little more complex, but will not be effected by other proc alerts.

My advice? Keep it as simple as you can get away with. Use Henrik's
method if you can.

Regards
    Vernon

On Tue, Jul 13, 2010 at 8:56 PM, Asif Iqbal <vadud3 at gmail.com> wrote:
> On Tue, Jul 13, 2010 at 6:54 AM, Henrik Størner <henrik at hswn.dk> wrote:
>> 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"
>
> 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
>>
>>
>>
>> To unsubscribe from the xymon list, send an e-mail to
>> xymon-unsubscribe at xymon.dk
>>
>>
>>
>
>
>
> --
> 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?
>
> To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe at xymon.dk
>
>
>



More information about the Xymon mailing list