Grouping alerts for multiple hosts. (purple)
list Gregory Wege
Hello,
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.
Basically I want to receive one single alert if this remote office goes
offline, not a page for every device. Is there a way to handle this
natively in hobbit? I cannot do conn based testing.
I know I will not be able to use this, however, I started messing around
with the conn tests and the route: flag within bb-hosts but I was
unsuccessful with getting it to work in my test environment. The servers
would not change to clear status if the gateway reported as red (down).
Thanks
Greg
list Ralph Mitchell
▸
On 8/1/07, Gregory Wege <user-8392a71e1a00@xymon.invalid> 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