While we're on the subject of alert configuration, could someone confirm mine?<br><br>HOST=*<br>  MAIL <a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a> COLOR=RED DURATION>15m RECOVERED<br>
<br>It will only email once something has been red for 15m and it will email once it has become green again - correct?<br><br><div><span class="gmail_quote">On 10/30/07, <b class="gmail_sendername">Henrik Stoerner</b> <
<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Tue, Oct 30, 2007 at 02:46:37PM -0500, James Wade wrote:
<br>> Will this work O.K.?<br>><br>><br>><br>> HOST=%ep* SERVICE=http<br><br>the regex is wrong, you probably want "%ep.*"<br><br>> MAIL <a href="mailto:555555555@mycell.com">555555555@mycell.com
</a> REPEAT=15 COLOR=RED DURATION>5m DURATION<35 RECOVERED<br>><br>> So, that it will not page the cell unless the outage lasts longer than 5<br>> minutes,<br>><br>> and will only page twice. (Assuming after 5 minute outage it pages, then
<br>> pages every fifteen minutes for thirty minutes - twice)<br><br>For http, this will work as intended. There is a "gotcha" when this is<br>used with tests that can go yellow - this is not the case with "http"
<br>tests. But e.g. a disk check that goes yellow for an hour, then red<br>would NOT trigger an alert in this case, first because you don't alert<br>on yellow, and second because the duration of the incident exceeds 35
<br>minutes when it does go red (DURATION begins when the status goes<br>non-green).<br><br><br>Regards,<br>Henrik<br><br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">
hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.
<br>--- Henry Spencer