<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Bug (regression) with Disabled Status Alerts</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Any progress on this one (see below)?  Currently NOTICEs seem to be sent out when an alert is enabled but not when it is disabled (where it is a 'recovered' instead).  This appears to be a regression since this message: </FONT><A HREF="http://www.hswn.dk/hobbiton/2005/11/msg00117.html"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://www.hswn.dk/hobbiton/2005/11/msg00117.html</FONT></U></A><FONT SIZE=2 FACE="Arial"> shows that DISABLED NOTICEs did use to be sent a few years back.  I am using Hobbit 4.2.0 with no patches.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Example e-mail when I disable a test:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Subject:</FONT>

<BR><FONT SIZE=2 FACE="Arial">Hobbit SebTest:conn recovered</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Body:</FONT>

<BR><FONT SIZE=2 FACE="Courier New">red  Tue Mar 18 18:54:07 2008 conn NOT ok </FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Service conn on SebTest is not OK : Host does not respond to ping</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Courier New">System unreachable for 51 poll periods (15086 seconds)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I also tried upgrading to yesterday's snapshot, but that didn't help.  Actually it was far worse, because after disabling a test, I got the e-mail as above, the test was shown as disabled on bb.html, and then hobbitd core dumped, and when it was restarted by hobbitlaunch, the test was no longer disabled and I got another alert.  Looking at the core dumps now, it looks like it is core dumping approximately every 5 minutes, so I'll send another e-mail about that, plus another possibly related issue I found with the snapshot.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">In addition, one of the alerts I got on this particular test said:</FONT>

<BR><FONT SIZE=2 FACE="Courier New">System unreachable for 5985 poll periods (1813435 seconds)</FONT>

<BR><FONT SIZE=2 FACE="Arial">And this was just after it went red.  Maybe it was so soon afterwards that something went wrong in the calculations?  It should have been 1 poll period.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Kind regards,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Sebastian </FONT>
</P>
<BR>

<P><I><FONT FACE="Arial">></FONT><FONT FACE="Arial">To</FONT></I><FONT FACE="Arial">: hobbit (at) hswn.dk </FONT>

<BR><I><FONT FACE="Arial">></FONT><FONT FACE="Arial">Subject</FONT></I><FONT FACE="Arial">: Suggestion about Disabled Status </FONT>

<BR><I><FONT FACE="Arial">></FONT><FONT FACE="Arial">From</FONT></I><FONT FACE="Arial">: "Jeffrey Chandler" <jeffrey.chandler (at) gmail.com> </FONT>

<BR><I><FONT FACE="Arial">></FONT><FONT FACE="Arial">Date</FONT></I><FONT FACE="Arial">: Wed, 4 Apr 2007 09:13:52 -0400 </FONT>

<BR><FONT SIZE=2 FACE="Arial">></FONT>

<BR><FONT SIZE=2 FACE="Arial">>Hello,</FONT>

<BR><FONT SIZE=2 FACE="Arial">></FONT>

<BR><FONT SIZE=2 FACE="Arial">>Currently when an alert is raised, and an administrator disables the alert,</FONT>

<BR><FONT SIZE=2 FACE="Arial">>an email is sent stating that the resource has been recovered.  The body of</FONT>

<BR><FONT SIZE=2 FACE="Arial">>the email still says that the test is "Not OK" , but the subject of the</FONT>

<BR><FONT SIZE=2 FACE="Arial">>email still says Recovered.</FONT>

<BR><FONT SIZE=2 FACE="Arial">></FONT>

<BR><FONT SIZE=2 FACE="Arial">>I don't know how difficult this would be to configure, but would it be</FONT>

<BR><FONT SIZE=2 FACE="Arial">>possible to have the subject of this email stat the the alert has been</FONT>

<BR><FONT SIZE=2 FACE="Arial">>disabled instead?</FONT>

<BR><FONT SIZE=2 FACE="Arial">></FONT>

<BR><FONT SIZE=2 FACE="Arial">>Thanks,</FONT>

<BR><FONT SIZE=2 FACE="Arial">></FONT>

<BR><FONT SIZE=2 FACE="Arial">>Jeff </FONT>
</P>

</BODY>
</HTML>