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

Re: logcheck regexp question



On Wed, Oct 11, 2006 at 09:43:22PM -0400, Roberto C. Sanchez wrote:
> On Wed, Oct 11, 2006 at 09:35:57PM -0400, Kevin Mark wrote:
> > On Wed, Oct 11, 2006 at 06:08:08PM -0400, Roberto C. Sanchez wrote:
> > > I have the following line in /etc/logcheck/ignore.d.server/local:
> > > 
> > > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ /USR/BIN/CRON\[.*\]: \(root\) CMD \(/usr/sbin/getimage
> > > 
> > > The level in logcheck.conf is set to server.  Still, these lines show up
> > > in my logcheck messages every hour:
> > > 
> > > Oct 11 17:06:01 miami /USR/SBIN/CRON[9820]: (root) CMD (/usr/sbin/getimage
> > > 
> > > I have also tried this line unsuccessfully:
> > > 
> > > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ \/USR\/BIN\/CRON\[.*\]: \(root\) CMD \(\/usr\/sbin\/getimage
> > > 
> > > Can someone spot what I am missing?
> > > 
> > > Regards,
> > > 
> > Hi Roberto,
> > the first thing I noticed: your regex says BIN and the actual line says
> > SBIN. so this is what I first noticed.
> 
> Please excuse me while I go and beat head against a brick wall. 
reading debian-devel lately is torture enough x-)
cheers,
Kev


-- 
|  .''`.  == Debian GNU/Linux == |       my web site:       |
| : :' :      The  Universal     | debian.home.pipeline.com |
| `. `'      Operating System    | go to counter.li.org and |
|   `-    http://www.debian.org/ |    be counted! #238656   |
|     my keysever: pgp.mit.edu   |     my NPO: cfsg.org     |

Attachment: signature.asc
Description: Digital signature


Reply to: