Xymon Mailing List Archive search

COLOR=yellow not recognized

list Henrik Størner
Wed, 28 Sep 2005 10:34:12 +0000 (UTC)
Message-Id: <dhdrj4$qbm$user-7fe75da36485@xymon.invalid>

Hi David,

In <9FAC236A8D9FF148952139690650E31605CBC61A at indymail_2.deltafaucet.com> "Stuffle, David" <user-4d88f4a4f51e@xymon.invalid> writes:
In my alerts, I have the following alert:
HOST=dclcore SERVICE=aaierr
       MAIL user-1062e5a01ee9@xymon.invalid COLOR=yellow
But, it doesn't recognize the COLOR=yellow.  In the info column, it's just
blank under the COLORS column and doesn't alert either.  If I change it to
COLOR=red, it shows red.  COLOR=yellow,red shows red only.
In the hobbitserver.cfg, I have:
ALERTCOLORS="red,purple"        # Colors to alert on.

ALERTCOLORS has precedence over what you put into hobbit-alerts.cfg. 
Setting this to "red,purple" means that the alert module will only
see red and purple events - NEVER yellow ones. So putting a COLOR=yellow
in the hobbit-alerts.cfg has no effect.

If you need the alert on yellow, you'll have to make ALERTCOLORS
include yellow.


Henrik