[collectd] Tail plugin "missing" events
Gregory.Giguashvili at PDGM.com
Wed May 19 17:05:35 CEST 2010
Thank you for your comments. I had submitted the patch already (email attached again).
Is there any estimate when this code will be integrated in the "official" 4.10.x release? Is there anything else I can do to expedite the adoption of the code?
Thanks a lot
From: Florian Forster [mailto:octo at verplant.org]
Sent: Wednesday, May 19, 2010 12:20 PM
To: Gregory Giguashvili
Cc: Claus Herwig; collectd at verplant.org
Subject: Re: [collectd] Tail plugin "missing" events
On Wed, May 05, 2010 at 01:56:56PM +0100, Gregory Giguashvili wrote:
> I'm seeing these low values when displaying the results using "rrdtool
> graph". I've had some time to read through collectd code and rrdtool
> documentation and it looks like I need something like GaugeInc type
> which would sum-up pattern occurrences in the log file and display
> numbers as is without extrapolating them over period of time.
if you're using RRDtool, the number will be aggregated eventually.
Your best bet is to multiply the value by the time difference between two samples, which should result in roughly the number of lines matched in the displayed time period.
Reading those graphs is not trivial though, since the number in the graph will increase with the timespan being displayed as a result of more and more events being shown in the graph.
Personally I think what you're trying to achieve is best done with a COUNTER or DERIVE data source, but if should send a patch for a "GaugeInc" type I don't have any general objections ;)
Florian octo Forster
Hacker in training
-------------- next part --------------
An embedded message was scrubbed...
From: "Gregory Giguashvili" <Gregory.Giguashvili at PDGM.com>
Subject: Re: [collectd] GaugeInc: Patch for "tail" plugin
Date: Sun, 9 May 2010 07:58:24 +0100
More information about the collectd