[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Problems with MSG filter
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Problems with MSG filter
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Fri, 8 Jan 2010 10:00:15 +0100
- Cc: thorsten.erdmann (at) daimler.com
- References: <OF3980FC4E.4EB7C86B-ONC12576A4.0027DFCB-C12576A4.00289B7A (at) dcx.dcx>
- User-agent: KMail/1.12.2 (Linux/2.6.31.6-desktop-1mnb; KDE/4.3.2; x86_64; ; )
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