Xymon Mailing List Archive search

client-local.cfg ignore a complicated line - syntax issue?

list Jeremy Laidman
Fri, 12 Sep 2014 18:28:33 +1000
Message-Id: <user-eff57ef82c20@xymon.invalid>

On 12 September 2014 18:23, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:
And it's lower-case.
Sorry, I meant that "ignore" is usually in lower-case.  I'm not sure it
matters, but the man page examples use "ignore matchstring" in lower-case.
 The upper-case version, like "IGNORE=matchstring" is the format used in
analysis.cfg, and defines to what to ignore when alerting rather that what
to ignore when sending log messages.  If you're trying to create a rule for
analysis.cfg, then your "log" line is in the wrong format, and should be

LOG /appdata/logserver/local7.log
IGNORE=%(?-i)apcontroller|cli.WARNING|cli.NOTICE

J