Xymon Mailing List Archive search

Grouping alerts for multiple hosts. (purple)

list Ralph Mitchell
Wed, 1 Aug 2007 10:50:54 -0500
Message-Id: <user-376d0cbf2f67@xymon.invalid>

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