This is not supported now - only the described cross-cycle fault tolerance.


On Jan 11, 2010, at 7:46 AM, Paras Fadte wrote:

> The goal is to make say x number of  http requests in one cycle and if out of 
> that n requests are not successful it should send alert.
> 
> On Sun, Jan 10, 2010 at 4:36 PM, Martin Pala <[email protected]> wrote:
> Yes, i understood ... the question is what exactly is the goal - in case of 
> ping test the "count" option sets fault tolerance for the test - in case of 
> "count 3" three pings are sent and the test succeeds when at least one 
> response returned. Hence i mentioned possibility to set fault tolerance 
> across check cycles. This is not the same what you asked for, but it could be 
> OK - it depends on what you're trying to solve: is the check OK if all 
> requests succeeded? or is it OK if at least one request succeeded?
> 
> If you need more requests in one cycle regardless of status, you can add the 
> same line multiple times:
> 
>   check process ...
>     if failed port 80 ...
>     if failed port 80 ...
>     if failed port 80 ...
> 
> Monit will then send the same request and react to any failure.
> 
> Regards,
> Martin
> 
> 
> On Jan 10, 2010, at 10:39 AM, Paras Fadte wrote:
> 
>> Hi Martin,
>> 
>> Thank you for the response . However I was talking about multiple http 
>> requests in one cycle. If something like following for example was possible
>> 
>> if failed port 80 protocol http and request "/test.html" count 3 with 
>> timeout 5 seconds then alert
>> 
>> Thank you.
>> 
>> -Paras
>> 
>> On Sun, Jan 10, 2010 at 4:00 AM, Martin Pala <[email protected]> wrote:
>> Hi,
>> 
>> if you need higher fault tolerance, you can set condition for example like 
>> this:
>> 
>>  if failed port 80 for 3 times within 5 cycles then alert
>> 
>> See manual for more details: 
>> http://www.mmonit.com/monit/documentation/monit.html#service_tests
>> 
>> Regards,
>> Martin
>> 
>> 
>> On Jan 8, 2010, at 5:42 AM, Paras Fadte wrote:
>> 
>> > Hi,
>> >
>> > Is it possible to make multiple http requests in one cycle in monit like 
>> > ICMP has with "count" option .
>> >
>> > Thank you.
>> >
>> > -Paras
>> > --
>> > To unsubscribe:
>> > http://lists.nongnu.org/mailman/listinfo/monit-general
>> 
>> 
>> 
>> --
>> To unsubscribe:
>> http://lists.nongnu.org/mailman/listinfo/monit-general
>> 
>> --
>> To unsubscribe:
>> http://lists.nongnu.org/mailman/listinfo/monit-general
> 
> 
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
> 

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to