Looking at that in the bb-hosts manpage...
badTEST[-weekdays-starttime-endtime]:x:y:z
Normally when a network test fails, the status
changes to red immediately. With a
"badTEST:x:y:z" tag this behaviour changes:
* While "z" or more successive tests fail, the column goes
RED.
* While "y" or more successive tests fail, but fewer than
"z", the column goes YELLOW.
* While "x" or more successive tests fail, but fewer than
"y", the column goes CLEAR.
* While fewer than "x" successive tests fail, the column
stays GREEN.
This says "when it fails"...I'm looking for "when it stays in this
state"...where state is definable (maybe default is red)...
=G=
*From:* Larry Barber [mailto:user-6ef9c2864140@xymon.invalid]
*Sent:* Wednesday, April 18, 2007 4:18 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Multiple yellow to red
For network tests, look for "badTEST" in the bb-hosts man page.
Thanks,
Larry Barber
On 4/18/07, Galen Johnson < user-87f955643e3d@xymon.invalid> wrote:
Hey,
I'll admit I haven't put a lot of legwork into this but...is it possible
to configure hobbit to go red on a test after a certain number of cycles at
yellow? I have some tests that I don't mind if they are yellow for small
period but if they are there too long I need to know.
I could probably handle this with a script but it'd be nice if hobbit
could handle it out of the box...maybe extend COLOR or DURATION...
HOST=* COLOR=3*yellow
blah blah blah
MAIL user-ef86c43926b6@xymon.invalid
That would alert after it was yellow for 3 cycles...or would a DURATION
alert work...hurmmmmmm...
=G=