[kw-pm] Scanning Linux logfiles for dropouts

rprice at freeshell.org rprice at freeshell.org
Mon Jun 7 17:59:27 CDT 2004


Hi Daniel,

Did you ever get a chance to look at the program?

Rick

On Thu, 3 Jun 2004, Daniel R. Allen wrote:

> Yes please... I'm curious.  Sounds like 'heartbeat' for logfiles...
>
> On Wed, 2 Jun 2004 rprice at freeshell.org wrote:
>
> > Hi,
> >
> > I just finished a perl program which will detect the dropout of a pattern
> > in a syslog type file.
> >
> >
> > Basically you specify the logfile, program, repeat period and pattern, and
> > if the pattern fails to show up on time, it syslogs the failure.
> >
> > I use logcheck on Debian, so I wouldn't want it to email me the info, but
> > if someone wanted to add that feature, it would hardly be difficult.
> >
> >
> > I just finished it tonight, so I should let it run for good couple of days
> > to make sure it's working before I inflict it on anyone else, but I'd be
> > happy to share it with anyone who wanted it.
> >
> >
> > My usage is to ensure that various BoxBackup clients that backup to my
> > machine, in fact do so within a reasonable time period.
> >
> > But it would be useful to check on any periodic thing that you would like
> > to watch. For instance, did my backup actually run each night?, if it
> > failed, you'd know about it, but what if it failed to run at all, you
> > wouldn't get a syslog entry for that...
> >
> > Have Fun
> > Rick
> >
> >
> > On Sat, 29 May 2004, Andrew Kohlsmith wrote:
> >
> > > > What I want is to be able to detect that one of the clients has not called
> > > > in during some relevant time period.
> > >
> > > > Any ideas?
> > >
> > > grep out the entries you want and use the date modules to calculate deltas
> > > between entries... sound an alarm if the delta is greater than some preset...
> > >
> > > -A.
> > > _______________________________________________
> > > kw-pm mailing list
> > > kw-pm at mail.pm.org
> > > http://mail.pm.org/mailman/listinfo/kw-pm
> > >
> > _______________________________________________
> > kw-pm mailing list
> > kw-pm at mail.pm.org
> > http://mail.pm.org/mailman/listinfo/kw-pm
> >
>
> _______________________________________________
> kw-pm mailing list
> kw-pm at mail.pm.org
> http://mail.pm.org/mailman/listinfo/kw-pm
>



More information about the kw-pm mailing list