Xymon Mailing List Archive search

Alerts Help

list Tim Grzechowski
Fri, 01 Aug 2008 16:16:06 -0500
Message-Id: <user-3423994722d7@xymon.invalid>

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