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

Re: LogCheck Issues



On Fri, 14 Sep 2001 19:50:04 -0500,
Rob VanFleet <rvf@biglinux.tccw.wku.edu> wrote:
> So I added the following regex to catch it:
> 
> /USR/SBIN/CRON\[.*\]: (mail) CMD (  if \[ -x /usr/sbin/exim -a -f
> /etc/exim.conf \]; then /usr/sbin/exim -q >/dev/null 2>&1; fi)
> 
> (after simply trying to add a '.*' between '/usr/sbin/exim' and ']'
> unsuccessfully)
> 
> but to no avail.  I still recieve warnings about it, even though I
> believe I am properly covering it.  Does anyone have an idea what I
> might be doing wrong?
Use this instead.

/USR/SBIN/CRON\[.*\]: \(mail\) CMD \(  if \[ -x /usr/sbin/exim -a -f /etc/exim.conf \]; then /usr/sbin/exim -q >/dev/null 2>&1; fi\)

--
Oohara Yuuma <oohara@libra.interq.or.jp>
Graduate-school of Science, Kyoto University
PGP Key  http://www.interq.or.jp/libra/oohara/pub-key.txt
Key fingerprint = 6142 8D07 9C5B 159B C170  1F4A 40D6 F42E F464 A695

I always put away what I take.
--- Ryuji Akai, "Star a way"



Reply to: