ignore certain things in a log file

Craig Cook Craig.Cook at carquest.com
Fri Aug 27 18:15:47 CEST 2010


Try something like this:

LOG     %/var/adm/messages kern IGNORE=%corrupt[[:space:]]label|wrong[[:space:]]magic[[:space:]]number

Or

LOG     %/var/adm/messages %kern IGNORE=%corrupt[[:space:]]label|wrong[[:space:]]magic[[:space:]]number

OR

LOG     %/var/adm/messages %kern COLOR=red IGNORE=%corrupt[[:space:]]label|wrong[[:space:]]magic[[:space:]]number

Craig



More information about the Xymon mailing list