Xymon Mailing List Archive search

LOG test fails to IGNORE ?

list Jerry Yu
Mon, 2 Oct 2006 09:41:31 -0400
Message-Id: <user-ac28e978677e@xymon.invalid>

I believe it worked! I faked a log entry with 'relabeling' and 'warning' in
there.

On 10/2/06, Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:
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