<br><div class="gmail_quote">On Thu, Dec 20, 2012 at 8:23 AM, Mike Burger <span dir="ltr"><<a href="mailto:mburger@bubbanfriends.org" target="_blank">mburger@bubbanfriends.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">> Hi all,<br>
><br>
> Does anyone have an answer for this?<br>
><br>
>> Is it possible to configure Xymon to send a recovered notification<br>
>> *only* if there was a<br>
>> corresponding notification that was sent for the initial red state?<br>
><br>
> If it's not possible, can I make a feature request for a future release?<br>
><br>
> Thanks,<br>
> Ray<br>
><br>
><br>
> On Wed, Dec 12, 2012 at 4:55 PM, Raymond Lee <<a href="mailto:raylee88@gmail.com">raylee88@gmail.com</a>> wrote:<br>
>> I have a question about the RECOVERED flag in alerts.cfg.  Here's an<br>
>> example:<br>
>><br>
>> PAGE=somepage COLOR=red<br>
>>         MAIL <a href="mailto:somebody@somewhere.com">somebody@somewhere.com</a> DURATION>7 RECOVERED REPEAT=1h<br>
>><br>
>><br>
>> The behavior I'm seeing is that if a test on PAGE=somepage turns red<br>
>> for less than 7 minutes and then turns green again, we'll get an email<br>
>> for the recovery but not the initial red state.  Is this the expected<br>
>> behavior of the RECOVERED flag?  Is it possible to configure Xymon to<br>
>> send a recovered notification *only* if there was a corresponding<br>
>> notification that was sent for the initial red state?<br>
<br>
</div></div>That's interesting...I'm not seeing recovered emails for events that occur<br>
and then clear within the >X timeframe. However, if I recall what I read,<br>
correctly, from the documentation, the polling/reporting time frame is in<br>
increments of 5 minutes...what happens if you change <7 to <10?<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br>Hi Mike,<br><br>That shouldn't make a difference.  Xymon's default polling frequency is 5 minutes, but we just happen to set ours to 7 minutes.  At any rate, DURATION is just the length of time that the test was red, so it shouldn't matter what the polling period is.  To confirm this, I tried changing it to DURATION>10 and got the same results.<br>
<br>So if the intended behavior of the RECOVERED flag is to send notification whenever a test changes from red/yellow/purple back to green, regardless of how long the test was in the red/yellow/purple state, then it's working as designed.  But if there's a way to make it notify only if the DURATION criterion is satisfied, then I'd be interested in hearing about it.<br>
<br>Thanks,<br>Ray<br><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
--<br>
Mike Burger<br>
<a href="http://www.bubbanfriends.org" target="_blank">http://www.bubbanfriends.org</a><br>
<br>
"It's always suicide-mission this, save-the-planet that. No one ever just<br>
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1<br>
<br>
<br>
<br>
</font></span></blockquote></div><br>