[hobbit] Multiple yellow to red
Henrik Stoerner
henrik at hswn.dk
Wed Apr 18 22:19:55 CEST 2007
On Wed, Apr 18, 2007 at 04:11:13PM -0400, Galen Johnson wrote:
> 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.
Use the "badTEST" setting in bb-hosts (see the man-page). This delays
a yellow or red status from appearing until it has stayed yellow (or
red) for a number of test cycles. So you could use this to suppress the
yellow status until it had been yellow for some time, so when it does
turn yellow you know this is something you have to handle.
Or if your custom test reported a "red" status, you could make it go
yellow for the first 5 test cycles, and red after that.
Henrik
More information about the Xymon
mailing list