[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logcheck regexp question



On Thu, Oct 12, 2006 at 03:36:43AM -0400, Kevin Mark wrote:
> Hi Roberto,
> I did 'Oct 11 22:06:01 miami /USR/SBIN/CRON[19062]: (root) CMD
> (/usr/sbin/getimage' > roberto.txt and used the regex that you did on
> the text and it matched[0]. That leads me to look elsewhere. Is this
> supposed to match what to display or what not to display? is the log
> level set right to exclude this message? not sure as never used that
> app.
> cheers,
> Kev
> [0]
> egrep "^\w{3} [ :0-9]{11} [._[:alnum:]-]+ /USR/SBIN/CRON\[.*\]: \(root\)
> CMD \(/usr/sbin/getimage" roberto.txt

The way logcheck works is that you specify a regex for stuff to ignore.

The odd thind is that I have a cron job that runs getimage on five
servers every hour, but only one "slips through" the logcheck regex
filter.  That is, ignores the other four which start off the same way.
This is very curious.  I may have to do some deeper investigating.  Any
other ideas would be most welcome.

Regards,

-Roberto
-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: