[collectd] exec PUTVAL of collectd version 4.3.1

Jie Zhang jj.mzhang at gmail.com
Tue Nov 17 15:56:53 CET 2009


Thanks for your help. It works!

Cheers,
Jie

On Mon, Nov 16, 2009 at 5:34 PM, XANi <xani666 at gmail.com> wrote:

> Hi,
> On Mon, 16 Nov 2009 17:03:22 -0500, Jie Zhang <jj.mzhang at gmail.com>
> wrote:
> > Hi,
> >
> > I am using the exec plugin of collectd ( version 4.3.1) to run my
> > script and got confused by how PUTVAL works. From the document, it
> > seems I can log multiple values, but, It works if I put only one
> > value int the value list, but it doesn't work if I have two values:
> >
> > This works:
> > PUTVAL localhost/sysstats/gauge-ioerror_count interval=60
> > 1258332477:257
> >
> > But this doesn't work:
> > PUTVAL localhost/sysstats/gauge-ioerror_count interval=60
> > 1258335773:257:123
> >
> > where 257 and 123 are the two values I am trying to log.
> >
> > Does anyone know what's wrong?
> >
> > Thanks a lot!
> >
> > Jie
> To gather 2 (or more values) u have to
> 1) add something like that to types.db
> ioerror_count       read:COUNTER:0:4294967295, write:COUNTER:0:4294967295
>
> 2) then log it like that:
> PUTVAL localhost/sysstats/ioerror_count interval=60 1258335773:257:123
>
> Regards
> Mariusz
>
> --
> Mariusz Gronczewski (XANi) <xani666 at gmail.com>
> GnuPG: 0xEA8ACE64
> http://devrandom.pl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20091117/7dcd3b8a/attachment.htm 


More information about the collectd mailing list