[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] alert color triggers
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] alert color triggers
- From: Henrik Storner <henrik (at) hswn.dk>
- Date: Wed, 28 Sep 2005 10:28:29 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <43093C16.30203@doublesparks.net>
- User-agent: nn/6.6.5+RFC1522
In <43093C16.30203 (at) doublesparks.net> Alan Sparks <asparks (at) doublesparks.net> writes:
>Have a simple rule in hobbit-alerts.cfg:
>HOST=%.*
> SCRIPT /usr/lib/hobbit/server/ext/pg/cfrun cfrun FORMAT=SCRIPT
>REPEAT=10
> MAIL bb-pg-oncall FORMAT=TEXT REPEAT=60 DURATION>5
>I note that these trigger on a yellow status, in addition to red or purple.
>I have ALERTCOLORS="red,purple" defined in hobbitserver.cfg.
>Note also I am using the BB client, not the Hobbit client.
I've tried reproducing this, but cannot - if I have ALERTCOLORS="red,purple"
in hobbitserver.cfg, I do not get any yellow alerts.
What happens if you run
bbcmd hobbitd_alert --test HOSTNAME SERVICE 10 yellow
Regards,
Henrik