[xymon] ignore certain things in a log file

Steve Holmes sholmes42 at mac.com
Thu Aug 26 16:58:57 CEST 2010


On Thu, Aug 26, 2010 at 10:44 AM, Kevin Kelly <kkelly at lifetouch.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100826/aba27625/attachment.html>


More information about the Xymon mailing list