[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Multiple yellow to red
- To: hobbit (at) hswn.dk
 
- Subject: Re: [hobbit] Multiple yellow to red
 
- From: "Gary Baluha" <gumby3203 (at) gmail.com>
 
- Date: Fri, 7 Sep 2007 11:11:43 -0400
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=beta;        h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;        bh=CtwwniMrWS2VzlFednHMM0yX3N0w/bzeFenBngnaV6Y=;        b=CJCUp1TUnVX7lxSHfcs/AI2uvSB1uXckzm544QntWd9zckf1+XBdF1ZCdXDlIjU7NGZZQhBT+i8apxuFe+LPFDWdO+F+820Vfwcnq6Tj7aZwUWelMDNr317WmVR5nC/sViwkP5ClE+/hOrhC3L6ATb8URmmvKIrugTT1aST/2CU=
 
- Domainkey-signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=beta;        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;        b=K+oA4z1on6kioVAvQhOpRxtU3C8thgVwfc4U6evd9YwjLwbTkR23faeRtuEWREIed4TvoS3AKy74hvuaRy119CVCvEaFoEOU3Y1B32fvHHJ9SKDOlttIx52GhLjiKb1osdXgr7X99+GYQqK8e4bPoisvxsJ2+jen+Rbw4ple8Y8=
 
- References: <199afa060704181317v798bd763l194eb6d13575d4bc (at) mail.gmail.com>	 <6C2B32F89382AF42875672B6F5BEB68202C99EA6 (at) MERCMBX07.na.sas.com>
 
It would be nice if the manpage expanded on what "TEST" in "badTEST" can
be.  I've confirmed "badssh" and "badhttp" work, but I haven't yet
determined what else works with it.  Does "badconn" work, for instance?  Or
is it really "badTCP-TEST"?
On 4/18/07, Galen Johnson <Galen.Johnson (at) sas.com> wrote:
>
>  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:lebarber (at) gmail.com]
> *Sent:* Wednesday, April 18, 2007 4:18 PM
> *To:* hobbit (at) hswn.dk
> *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 < Galen.Johnson (at) sas.com> 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 admin (at) foo.com
> >
> > That would alert after it was yellow for 3 cycles...or would a DURATION
> > alert work...hurmmmmmm...
> >
> > =G=
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe (at) hswn.dk
> >
> >
> >
>