<HTML>
<HEAD>
<TITLE>Re: [hobbit] Test goes purple randomly</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Is this a fix to the hobbit turning purple issue for devmon also?<BR>
<BR>
Thanks, michael<BR>
<BR>
On 10/24/08 10:05 PM, "Richard Finegold" <goldfndr@gmail.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>If one uses a default ratio of 5:30 (5 minute poll, 30 minute expire)<BR>
then LIFETIME should be more than "a bit longer than" the life span of<BR>
the report. Assuming the philosophy of no less than 5 missed intervals<BR>
leading to purple is consistent. Hmm...<BR>
<BR>
Ah, the bb manpage says "sligtly more than" (sic) "is a good idea".<BR>
This is contradicted by the LIFETIME default of 30. Two ways come to<BR>
mind to resolve this contradiction:<BR>
  * Change LIFETIME to 6 or 7 (hobbitd.c, handle_status, validity).<BR>
  * Change the manpage's text, from "sligtly more than" to "a multiple<BR>
of" (or something similar).<BR>
<BR>
On Thu, Oct 23, 2008 at 6:47 PM, Samuel Cai<BR>
<Samuel.Cai@ehealth-china.com> wrote:<BR>
> From: Ralph Mitchell [<a href="mailto:ralphmitchell@gmail.com]">mailto:ralphmitchell@gmail.com]</a><BR>
> Sent: Tuesday, September 16, 2008 12:44 PM<BR>
> To: hobbit@hswn.dk<BR>
> Subject: Re: [hobbit] Tricky bug in Purple status determination<BR>
><BR>
[snip]<BR>
> What you should do is alter the test script to use the "status+LIFETIME"<BR>
> format, where LIFETIME is the life span of the report, as described in<BR>
> the bb man page, and make the lifetime a bit longer than the the test<BR>
> interval.<BR>
<BR>
To unsubscribe from the hobbit list, send an e-mail to<BR>
hobbit-unsubscribe@hswn.dk<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>