Bug#275946: [Logcheck-devel] Bug#275946: newline not recognized when logcheck sends emails

Brendon Baumgartner brendon at brendon.com
Mon Oct 25 20:28:19 UTC 2004


> From: maximilian attems [mailto:max at stro.at] On Behalf Of maks attems
> Sent: Monday, October 25, 2004 1:06 PM
> To: Brendon Baumgartner
> Cc: 275946 at bugs.debian.org
> Subject: Re: [Logcheck-devel] Bug#275946: newline not recognized when
> logcheck sends emails
> 
> On Fri, 22 Oct 2004, Brendon Baumgartner wrote:
> 
> > Started this discussion, might as well try and finish it. :)
> 
> thanks for feeback. :)
> 
> > Watch closely. The 2043 does NOT have the SLAPD rules and the 20:45
> does.
> > The report generated by the ladder has a linefeed problem. It seems to
> me
> > that the slapd rules match a carriage return or line feed that the other
> > rules do not.
> >
> > In summary:
> > 2043 report: good. Even where slapd and kernel messages are mixed
> together.
> > 2045 report: bad.
> >
> > Let me know what you think.
> > Brendon
> >
> > (note, I only showed my additions. I removed all my rules that looked
> like
> > they could match a line feed)
> <snipp rules>
> 
> ok now we have something we can poke on even if looks wired
> that removing more messages causes this line-wrap problem.
> 
> could you show as the output of
> sed -e 's/[[:space:]]+$//' /var/log/syslog | egrep --text slapd | \
> egrep --text -v '^\w{3} [ :0-9]{11} [._[:alnum:]-]+ slapd\[[0-9]+\]:'
> 
> as i have hands on an ldap server i'll may also try,
> maybe a better idea comes up till then.
> 

solara:/etc/mon# sed -e 's/[[:space:]]+$//' /var/log/syslog | egrep --text
slapd |  egrep --text -v '^\w{3} [ :0-9]{11} [._[:alnum:]-]+
slapd\[[0-9]+\]:'
solara:/etc/mon# 
solara:/etc/mon# sed -e 's/[[:space:]]+$//' /var/log/syslog | egrep --text
slapd         
solara:/etc/mon#






More information about the Logcheck-devel mailing list