[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Alert config issue or question -- 4.2 Alpha Release (and 4.03 Rc1)



On Wed, Apr 05, 2006 at 11:52:00AM -0400, Kauffman, Tom wrote:
> I've a problem with my running 4.03RC1 (yeah, I know :-) that doesn't
> seem to change with 4.2 Alpha.
> 00018172 2006-04-05 11:42:36 Failed 'MAIL techsupt (at) localhost UNMATCHED DURATION>6m REPEAT=4h' (min. duration 0<360)
> 
> So if I'm reading this correctly, my 'duration>6m' is being interpreted
> as 'duration>6h'. The intent here is to require two failed tests before
> paging. Where have I gone wrong?

You're not reading it correctly. When you put DURATION>6m into the
config, Hobbit internally converts that into 360 seconds. The output you
see means that the current duration of the alert (0 seconds) - was less
than the minimum duration required (360 seconds).

I cannot recall if the test option in 4.0.3 allows you to specify the
duration for the test-alert; with newer version you can, and then you'd
see the the "0" change accordingly.


Henrik