|
From: | Martin Pala |
Subject: | Re: retries not working? |
Date: | Tue, 27 Sep 2011 09:57:12 +0200 |
Hi Nestor, the retry option was added in Monit 5.3 … if you're using older version, it won't work. In the Monit 5.3 the retry itself is silent and particular attempt failure doesn't log the error - the error is logged only when all attempts failed (we have extended Monit development version to log the details for every particular attempt in debug mode). It is thus very likely that in your case all 3 consecutive attempts failed since they were too fast (within one cycle) - you can use the cross-cycle failure ratio to wait between retries like this: --8<-- if failed url … for 3 cycles then alert --8<-- => the test will fail only when 3 consecutive cycles ended up with error Best regards, Martin On Sep 27, 2011, at 2:28 AM, Nestor Urquiza wrote: Hi, |
[Prev in Thread] | Current Thread | [Next in Thread] |