Thanks for your help. It works! Cheers, Jie
On Mon, Nov 16, 2009 at 5:34 PM, XANi <[email protected]> wrote: > Hi, > On Mon, 16 Nov 2009 17:03:22 -0500, Jie Zhang <[email protected]> > 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) <[email protected]> > GnuPG: 0xEA8ACE64 > http://devrandom.pl > >
_______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
