monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] ability to check multiple hosts


From: Vladimir Shun'kov
Subject: Re: [monit] ability to check multiple hosts
Date: Tue, 22 Nov 2011 22:12:50 +0200

Thank you Martin for your answer.

But I'm searching ability to send alert in case if both hosts is down.
Is it possible to combine both tests together?

Thanks,
Vladimir.

2011/11/22 Martin Pala <address@hidden>:
> Yes, but you need to expand each host into standalone "check host" statement, 
> like this:
>
> --8<--
> check host myhost1 with address 192.168.0.1
>    if failed icmp type echo count 5 with timeout 15 seconds then alert
>
> check host myhost2 with address 192.168.0.2
>    if failed icmp type echo count 5 with timeout 15 seconds then alert
>
> ...
> --8<--
>
> Regards,
> Martin
>
>
> On Nov 22, 2011, at 5:06 PM, Vladimir Shun'kov wrote:
>
>> Hello all,
>>
>> Is there a way to icmp check several hosts. Something look like that:
>>
>> check host myhost.com, myhost1.com myhost2.com ... with address
>> 192.168.0.1, 192.168.0.2, 192.168.0.3 ...
>>       if failed icmp type echo count 5 with timeout 15 seconds then alert
>>
>> Thanks.
>>
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]