[collectd] Help with exec plugin

Daniel Rowe lists at fathom13.com
Wed Aug 6 14:40:40 CEST 2008


Hi Sebastian

Thanks for the reply.

On Mon, 2008-08-04 at 16:56 +0200, Sebastian Harl wrote: 
> Hi Daniel,
> 
> On Sun, Aug 03, 2008 at 11:11:34AM +0800, lists wrote:
> > The output from this script is:
> > 
> > fileserver/exec-smart/temperature-3ware_0 interval=60 N:33
> > fileserver/exec-smart/temperature-3ware_1 interval=60 N:34
> > fileserver/exec-smart/temperature-3ware_2 interval=60 N:34
> > fileserver/exec-smart/temperature-3ware_3 interval=60 N:33
> 
> That output looks fine. Please note, though, that starting with version
> 4.3 "PUTVAL " should be prepended to each lines (see the manpage).
> 
I have changed my script to output:

PUTVAL fileserver/exec-smart/temperature-3ware_0 interval=60 N:34
PUTVAL fileserver/exec-smart/temperature-3ware_1 interval=60 N:35
PUTVAL fileserver/exec-smart/temperature-3ware_2 interval=60 N:35
PUTVAL fileserver/exec-smart/temperature-3ware_3 interval=60 N:34


> > My exec part of the sensors collectd.conf file:
> > 
> > <Plugin exec>
> >         Exec "sensors:sensors" "/usr/lib64/collectd/exec-smartctl"
> > </Plugin>
> 
> That looks fine as well.
> 
> I've done a quick test to try to reproduce that error by using a script
> which outputs the exact same lines as your script. That was working just
> fine as expected.
> 
> Which version of collectd do you use?
> 

I am using version 4.4.2 so I need the PUTVAL I missed that in the
manpage however I am still getting exactly the same in my logs so I am
still at bit of a loss.

> Cheers,
> Sebastian
> 




More information about the collectd mailing list