[hobbit] Alerts Help

Tim Grzechowski tim.grzechowski.osv at fedex.com
Fri Aug 1 23:16:06 CEST 2008


I added the following to hobbit-alerts.cfg:

 

     HOST=*

          MAIL root at localhost COLOR=yellow,purple,red

 

But when I run the bbcmd test the last line is what is throwing me off.

 

     [root at tstfabric121 etc]# ../bin/bbcmd hobbitd_alert --test
tstfabric121.ce.fedex.com conn

     2008-08-01 16:11:12 Using default environment file
/usr/lib/hobbit/server/etc/hobbitserver.cfg

     00024148 2008-08-01 16:11:12 send_alert tstfabric121.ce.fedex.com:conn
state Paging

     00024148 2008-08-01 16:11:12 Matching host:service:page
'tstfabric121.ce.fedex.com:conn:' against rule line 125

     00024148 2008-08-01 16:11:12 *** Match with 'HOST=*' ***

     00024148 2008-08-01 16:11:12 Matching host:service:page
'tstfabric121.ce.fedex.com:conn:' against rule line 126

     00024148 2008-08-01 16:11:12 *** Match with 'MAIL root at localhost
COLOR=yellow,purple,red' ***

     00024148 2008-08-01 16:11:12 Mail alert with command 'mail -s "Hobbit
[12345] tstfabric121.ce.fedex.com:conn CRITICAL (RED)" root at localhost'

      [root at tstfabric121 etc]#

 

That line is throwing me off.  The fact that it says "CRITCAL (RED)".  As
that host is all green that line would lead me to believe that the test is
not working as expected and is going to email a CRITCAL (RED) email.
Correct?

 

 

/tg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080801/b00640f1/attachment.html>


More information about the Xymon mailing list