[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Grouping alerts for multiple hosts. (purple)
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Grouping alerts for multiple hosts. (purple)
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Wed, 1 Aug 2007 10:50:54 -0500
- Dkim-signature: a=rsa-sha1; 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:content-transfer-encoding:content-disposition:references; b=Kq8OifM5m2ysDfFBHGRzuBFyzjVkxr0O/v2V/fVbYV9oMOa33+s5mUnW/JRHsoOE66MMp2bk66S8rqKc/i3tHZUNWjPob+j/DaawwLgWFvGn10305IIym+XDNekJowtGGA5mgYWp/nMbfGQq4U2MPsd+D1gLMlTv5JdG2rJd41Q=
- 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:content-transfer-encoding:content-disposition:references; b=JPF6ObUnCrQTnYa2dnXURWD/TYWKq6A1pssJqaslWCGEBD56Q0ygXO0xSffNNY63yXPkMYIfX+gAbTXcVI5qRGnBVN40QIGYAAcgwipzgH9GFZt09P9hWbRR1kvHUhf/6wX/I3qfOwGFzMhdCMX5SPn59PErpPcvT40aEjQgWDY=
- References: <A1C66EA63097A441929DC50B78060F0A3DD7F0 (at) scotty.imc2k3.local>
On 8/1/07, Gregory Wege <gwege (at) infomanage.net> wrote:
> I'm in the process of upgrading from bb to hobbit. In BB I
> had written a few custom tests that would grep through the bb status logs
> for a group of hosts matching color purple, it would then report what it
> found and bb would send out an alert based on the results. This allowed me
> to monitor the status of our remote offices, if it went down I would receive
> a sms page.
The equivalent of "grepping through the bb status logs" would be the
hobbitdboard command.
server/bin/bb localhost hobbitdboard | grep purple
The format of the information is:
hostname|test|color|.....
All you need to do is reformat that so it fits into your existing BB script....
Ralph Mitchell