Xymon Mailing List Archive search

LOG items with yellow colors

list Jason K. Kruse
Wed, 5 Jul 2006 09:33:20 -0500
Message-Id: <user-f1a8eebab4ec@xymon.invalid>

Didn't see this mentioned anywhere.

Hobbit version 4.2-alfa-20060502

With the following log the order of entries in localclient.cfg is
important if you use a regex for the match.

Jul  5 09:20:01 wombat scsi: [ID 107833 kern.warning] WARNING:
/pci at 1f,2000/fibre-channel at 1/sd at 1,0 (sd287):
Jul  5 09:20:01 wombat Error for Command:     Error Level: Informational

This causes the yellow page with a single yellow dot, as expected.

LOG     /var/adm/messages %(?-i)WARNING COLOR=yellow GROUP=root
LOG     /var/adm/messages IGNORE=%(?-i)Informational "Error Level"
COLOR=red

This causes a red page with a single yellow dot.

LOG     /var/adm/messages %(?-i)WARNING COLOR=yellow GROUP=root
LOG     /var/adm/messages IGNORE=%(?-i)Informational %(?-i)Error.Level
COLOR=red

Altering the order to have the red check first causes the expected
yellow page to show.

Jason