Xymon Mailing List Archive search

Problems with MSG filter

list Buchan Milne
Fri, 8 Jan 2010 10:00:15 +0100
Message-Id: <user-80bca32aa914@xymon.invalid>

On Thursday, 7 January 2010 08:23:03 user-9219fb9415b1@xymon.invalid wrote:
Hi

I have some problems filtering entries from the msg test. I have several
hosts, running SuSE which often produce the following messages in
/var/log/messages:

Jan  7 08:09:22 s068c320 ntpd[4944]: kernel time sync error 0001

The hosts are named s068c320, s068c321, s068c322, ...

So I made the following entries in the hobbit-clients.cfg on the
Hobbitserver, to filter out these messages:

HOST=%s068c32*
        LOG     %.* %(fatal|error)   COLOR=red   IGNORE=ntpd
Shouldn't this be:

HOST=%s068c32.*
        LOG     %.* %(fatal|error)   COLOR=red   IGNORE=ntpd

(Note the ., this is a regex, not a glob)

Regards,
Buchan