LOG items with yellow colors

Kruse, Jason K. jason.kruse at teldta.com
Wed Jul 5 16:33:20 CEST 2006


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



More information about the Xymon mailing list