[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Duration reset on status change
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Duration reset on status change
- From: Pat Vaughan <pavaughan (at) gmail.com>
- Date: Tue, 21 Aug 2007 14:11:33 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=YumuNKdQX+jtPngdzX+2tpy8FeNN8w872PqWr7lcmjWWt7Up5PMgq0XnKsA3jKGrGDqp1xXMhGQ6WL1q1FSVzgIYvxW/2qPim9zEkD0DNdlD9j6PKwYqIosD81m+Wwecwi7D3XT2GGSGgPym0d91TuOzo+eA2ll3G0tcDvNq+3Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Lwls0DK2lNedovHQh4+YmgTx7qaAAJ09/Cj7Ka8uW2/m7QT+oJDZayb7AjtU/wy8NdOOOYeGwKwYBw1oi/cwwiIZ3JmNtjGCZ+iqvLETLIeCYJ516mOgiFhdq3nFxeW3CW4dLQYDjJ6YfZMsm4qO1ja+hCWfjAaCwK00+90AhUY=
- References: <BAY130-F27256BE7B86074DCCF21E3BADC0 (at) phx.gbl> <f9ptph$shj$1 (at) voodoo.hswn.dk>
- User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
Just my $.02, but I would make a second DURATION type counter that gets
reset on every state change and add a keyword called something like
LASTCHANGE. That way the user can decide how he wants to handle
duration type rules. Some users may want rules based on the last time a
test was "green" and other rules based on the last time the state changed.
Henrik Stoerner wrote:
> In <BAY130-F27256BE7B86074DCCF21E3BADC0 (at) phx.gbl> "Patrick Vaughan" <patrick_a_vaughan (at) hotmail.com> writes:
>
>
>> I need to send an Email if a test is yellow, and escalating pages if it
>> is red. My problem is that a test went yellow over the weekend when
>> nobody was checking Email, then in the middle of the night went to red.
>> Which caused techs, backup techs, managers, and the CEO to be paged
>> because the duration was over 24 hours.
>>
>
>
>> Is there any way to reset the duration counter when the state changes.
>> Instead of just when the state changes from green?
>>
>
> No.
>
> The problem with this is that you'll get tons of alerts if a status
> is wobbling just around the red threshold.
>
> I do understand your predicament with the current way alerting works,
> but right now I haven't found the optimum way of doing it.
>
>
> Regards,
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
>