<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16437"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=224411612-12122011>One of my colleagues
queried yesterday why he got an alert when the text of the e-mail suggests the
status is green and there were 0 failures in the past 10 minutes. Looking
at the status now, I saw that it said:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><STRONG>WARNING: Flapping status</STRONG></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=224411612-12122011><FONT size=2 face=Arial>This must be the
reason why the status colour was what it was when the alert was generated - the
status was flapping. But this fact should be in the e-mail, just like it
is in the display, or it just looks wrong. Alternatively, alerts should be
suppressed for flapping statuses <STRONG>until</STRONG> it actually goes red (or
whatever is configured in alerts.cfg) again. This would mean storing the
current colour separely from the flapping-locked colour (which I expect is done
anyway) and using the current colour to match the COLOR rule in alerts.cfg, and
the flapping-locked colour to get the history of how long the alert has been in
this colour for the purposes of matching against DURARATION and REPEAT
rules. So for alert configured like this:</FONT></SPAN></DIV>
<DIV><SPAN class=224411612-12122011><FONT size=2 face=Arial>MAIL $pg-opssms
COLOR=red DURATION>10 REPEAT=30 RECOVERED</FONT></SPAN></DIV>
<DIV><SPAN class=224411612-12122011><FONT size=2 face=Arial>that goes red for 5
minutes, yellow for 6, red for 5, yellow for 5, green for 5, yellow for 5, red
for 30 minutes</FONT></SPAN></DIV>
<DIV><SPAN class=224411612-12122011><FONT size=2 face=Arial>an alert should be
genererated after 11 minutes and 41 minutes, not 10 and 40. This would
mean the alert would detail the current error in the text of the alert, rather
than the fact that everything is fine at that moment.</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-gb><FONT size=2 face=Arial>Kind regards,</FONT></SPAN> </P>
<P><SPAN lang=en-gb><FONT face=Arial><FONT size=2>Seb<SPAN
class=224411612-12122011>A</SPAN></FONT></FONT></SPAN></P></BODY></HTML>