Xymon Mailing List Archive search

ignore certain things in a log file

list Steve Holmes
Thu, 26 Aug 2010 10:58:57 -0400
Message-Id: <AANLkTi=user-97ab56c33e9f@xymon.invalid>

On Thu, Aug 26, 2010 at 10:44 AM, Kevin Kelly <user-46671a9fcf56@xymon.invalid> wrote:
 Could somebody tell me why this won’t work?


HOST=testserver

        LOG     %/var/adm/messages kern "IGNORE=%(corrupt label|wrong magic
number)"


Trying to ignore all lines in the messages file that contain those key
words.


Thanks


Kevin


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
I'm not sure why you have the parens in the pattern, but you might try
taking them out. Also, if that doesn't work, try dropping the quotes and
replacing each space with \s.
Steve