[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Test goes purple randomly
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Test goes purple randomly
- From: "Richard Finegold" <goldfndr (at) gmail.com>
- Date: Fri, 24 Oct 2008 19:05:16 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=eYy58RkwZmcz3sNU0lRMQOMRrn0RRlJx8tavWQBbGTo=; b=ShYpFiN3Bq1q9gZNmid+9PjBq0rXZgUaXA8NH5iMsPTVT4E13qIvPL0huJnsXo+ZXH +HuyIo0JTWEsgL142KTNIOeo2aIZThvFn+jqxWTGVl0sL3JFYDkeMgKE9kGimKJBc3qW P8ohGvgcwhptOpccOHLSUHizRexl+VEnfwsTs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fCC8zpiaSAM6fASnGw5HxQBNeuYai7Ux+y4N9mwZN/6EP0kuS7CuIVQ39hrZlMXbaR TmFXFSpyUws1EW0o7Pa+xr+faupA7IzIrexXzOswZy+0xS/RpgUSmLqrTjucTOAJZxca yJ4haf/S6j7hPC3z9MWzPRpSc4k1WGh2hk7P0=
- References: <200810230934.26625.wayne (at) flashmedia.co.za> <980B46CCEFAE3F4A836BBF54E4DBCB160DB9331E (at) SJEXVS01.ehi.ehealth.com>
If one uses a default ratio of 5:30 (5 minute poll, 30 minute expire)
then LIFETIME should be more than "a bit longer than" the life span of
the report. Assuming the philosophy of no less than 5 missed intervals
leading to purple is consistent. Hmm...
Ah, the bb manpage says "sligtly more than" (sic) "is a good idea".
This is contradicted by the LIFETIME default of 30. Two ways come to
mind to resolve this contradiction:
* Change LIFETIME to 6 or 7 (hobbitd.c, handle_status, validity).
* Change the manpage's text, from "sligtly more than" to "a multiple
of" (or something similar).
On Thu, Oct 23, 2008 at 6:47 PM, Samuel Cai
<Samuel.Cai (at) ehealth-china.com> wrote:
> From: Ralph Mitchell [mailto:ralphmitchell (at) gmail.com]
> Sent: Tuesday, September 16, 2008 12:44 PM
> To: hobbit (at) hswn.dk
> Subject: Re: [hobbit] Tricky bug in Purple status determination
>
[snip]
> What you should do is alter the test script to use the "status+LIFETIME"
> format, where LIFETIME is the life span of the report, as described in
> the bb man page, and make the lifetime a bit longer than the the test
> interval.