Xymon Mailing List Archive search

LOG test fails to IGNORE ?

list Jerry Yu
Mon, 2 Oct 2006 08:57:01 -0400
Message-Id: <user-4471c4f3f0c9@xymon.invalid>

I'll try it out. Thanks, Oliver. I initially didn't have color
specification. I had added color=yellow since, only to mimic the example in
the man page.

On 10/2/06, Olivier Boyaval <user-f56ee5cec7be@xymon.invalid> wrote:
Jerry Yu a écrit :
The 'hobbit-clients.cfg' man page give this example:
LOG /var/log/daemon.log %WARNING|NOTICE COLOR=yellow IGNORE=lpr

This is identical to mine except the actual log file name and strings.
I had the same problem with this synthax. I have resolved it by using
this synthax :

log /var/log/messages %WARNING|NOTICE|ERROR yellow "IGNORE=relabeling"

-> no use of COLOR= keyword
-> use of quote (") on the ignore keyword and string.

Cdl

Olivier