[collectd] Tail plugin "missing" events

Gregory Giguashvili Gregory.Giguashvili at PDGM.com
Wed May 5 09:14:03 CEST 2010


I would appreciate any help for making this configuration to work. I
simply need to count appearances of strings in the log file and present
the count over time in graph.

 

The "CounterInc" doesn't seem to address this issue. I realize this may
be a trivial question... 

Can collectd provide such functionality at present?

 

Thank you,

Giga

 

From: collectd-bounces at verplant.org
[mailto:collectd-bounces at verplant.org] On Behalf Of Gregory Giguashvili
Sent: Tuesday, May 04, 2010 11:27 AM
To: collectd at verplant.org
Subject: [collectd] Tail plugin "missing" events

 

Hi,

 

I'm using the following configuration for my tail plugin:

Interval     10

ReadThreads  5

 

LoadPlugin load

LoadPlugin rrdtool

LoadPlugin syslog

LoadPlugin tail

 

<Plugin rrdtool>

  DataDir      "..."

  CacheTimeout  30

  CacheFlush    60

</Plugin>

 

    ...

    <Match>

      RegEx    "listStudies userid:"

      DSType   "CounterInc"

      Type       "counter"

      Instance "listStudies"

    </Match>

...

 

After that, I'm issuing 1000 requests that should match the regular
expression, but RRD results only show at most up to 20 hits per sample.
It looks like the plugin is "missing" entries from the log file when
they come too quickly. Is there a workaround/solution for this problem
or I'm doing something wrong?

 

Thank you,

Giga

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20100505/5372d0ac/attachment.htm 


More information about the collectd mailing list