[collectd] reading kernel counters?
Bruno Prémont
bonbons at linux-vserver.org
Sat Jun 11 10:33:19 CEST 2011
On Sat, 11 June 2011 Amos Shapira <amos.shapira at gmail.com> wrote:
> On 11 June 2011 08:29, XANi <xani666 at gmail.com> wrote:
> > On Fri, 10 Jun 2011 15:57:58 +1000, Amos Shapira
> > <amos.shapira at gmail.com> wrote:
> > > To my surprise, when I looked for a collectd plugin to graph
> > > /proc/sys/net/ipv4/netfilter/ip_conntrack_count (a file which
> > > contains a gauge integer of current number of entries in the
> > > ip_conntrack table), I didn't see anything which can do this in the
> > > list of plugins.
> > >
> > > What am I missing? It must be a very common use of collectd but going
> > > through the list of plugins nothing seem to provide this.
> > http://collectd.org/wiki/index.php/Plugin:ConnTrack ? :)
> >
>
> Thanks. That's an obvious one :^).
>
> A colleague pointed me to this right after I sent my question but it crashes
> for us on CentOS 5.5.
>
> We might debug this but in general I'm a bit surprised there isn't a module
> to just read a single number from just any file, is there?
The table plugin should do:
http://www.collectd.org/wiki/index.php/Plugin:Table
Bruno
More information about the collectd
mailing list