8 Jan
2010
8 Jan
'10
9 a.m.
On Thursday, 7 January 2010 08:23:03 thorsten.erdmann at daimler.com 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