[collectd] Help with exec plugin
lists
lists at fathom13.com
Sun Aug 3 05:11:34 CEST 2008
Hi
I am trying to get the exec plugin going as I want to record the hard
drive temperatures on a 3Ware RAID card. I am having a little
difficulty. I wonder if someone could point me in the right direction as
I think I have it all configured correctly.
Collectd is running the exec script. I can see this in a output of 'ps'
so my sudo is all setup correctly.
I have use the script provided in the contrib folder for monitoring the
HDD temperatures on a 3Ware RAID controller. I have modified this a
little for the extra HDD that are on my controller.
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
In the logs I am getting this:
Aug 3 11:00:46 fileserver collectd[28949]: cmd putval: parse_value:
Number of values incorrect: Got 0, expected 1. Identifier is
`fileserver/exec-smart/temperature-3ware_0'.
Aug 3 11:00:46 fileserver collectd[28949]: cmd putval: parse_value:
Number of values incorrect: Got 0, expected 1. Identifier is
`fileserver/exec-smart/temperature-3ware_1'.
Aug 3 11:00:46 fileserver collectd[28949]: cmd putval: parse_value:
Number of values incorrect: Got 0, expected 1. Identifier is
`fileserver/exec-smart/temperature-3ware_2'.
Aug 3 11:00:46 fileserver collectd[28949]: cmd putval: parse_value:
Number of values incorrect: Got 0, expected 1. Identifier is
`fileserver/exec-smart/temperature-3ware_3'.
My exec part of the sensors collectd.conf file:
<Plugin exec>
Exec "sensors:sensors" "/usr/lib64/collectd/exec-smartctl"
</Plugin>
Thanks for any pointers as I'm sure it is something I have wrong.
Regards
Daniel
More information about the collectd
mailing list