[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LOG items with yellow colors
- To: <hobbit (at) hswn.dk>
- Subject: LOG items with yellow colors
- From: "Kruse, Jason K." <jason.kruse (at) teldta.com>
- Date: Wed, 5 Jul 2006 09:33:20 -0500
- Thread-index: AcagMz4VxfywCuF7TIGMby9LrshyYAAB66RQ
- Thread-topic: LOG items with yellow colors
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