pcp
[Top] [All Lists]

Re: [pcp] old style log dredging PMDA

To: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Subject: Re: [pcp] old style log dredging PMDA
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 1 Jul 2013 00:46:55 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <51D10702.5090602@xxxxxxxxxx>
References: <51D10517.2010901@xxxxxxxxxxxxxxxx> <51D10702.5090602@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: PmHipBv8m8ObM9490zg/dUHMksG1Dw==
Thread-topic: old style log dredging PMDA

----- Original Message -----
> On 07/01/2013 02:27 PM, Ken McDonell wrote:
> > Once upon a time we had (Mark wrote I think) a pmda that camped on the end
> > of a
> > log file basically doing a tail piped into a grep selection to accumulate
> > counts
> > of different sorts of log lines.
> ...
> Maybe someone still at SGI could release it? Jeff Hanson?

It would possibly be better to use the Perl PMDA API (which supports log
tailing correctly also) to re-implement this...?

See pmdanamed.pl or pmdazimbra.pl for examples and $pmda->add_tail().

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>