[collectd] rrdcached+collectd
Benjamin Wang (gendwang)
gendwang at cisco.com
Mon Mar 4 14:38:14 CET 2013
Hi,
I try to setup rrdcached and collectd in one VM(Redhat 6.2). rrdcached also listens on the network port for remote query.
rrdtool: 1.4.7
collectd: 5.2.0
The collectd.conf is as following:
LoadPlugin rrdcached
LoadPlugin rrdtool
<Plugin rrdcached>
DaemonAddress "unix:/tmp/rrdcached.sock"
DataDir "/root/tools/rrdcached"
CreateFiles true
</Plugin>
<Plugin rrdtool>
DataDir "/opt/collectd/var/lib/collectd"
</Plugin>
The rrdcached start script is as following:
rrdcached -F -b /root/tools/rrdcached -j /root/tools/rrdcached/cached -p /root/tools/rrdcached/rrdcached.pid -l unix:/tmp/rrdcached.sock -l 10.74.125.141
But the collectd log always show the error:
[2013-03-04 21:24:56] rrdcached plugin: rrdc_update (/root/tools/rrdcached/10.74.125.141/memory/memory-used.rrd, [1362403496:4414574592.000000], 1) failed with status -1.
[2013-03-04 21:24:56] rrdcached plugin: rrdc_update (/root/tools/rrdcached/10.74.125.141/memory/memory-buffered.rrd, [1362403496:363573248.000000], 1) failed with status -1.
[2013-03-04 21:24:56] rrdcached plugin: rrdc_update (/root/tools/rrdcached/10.74.125.141/memory/memory-cached.rrd, [1362403496:1231032320.000000], 1) failed with status -1.
I have gone through the old threads and have tried "chmod 777 /root/tools/rrdcached". But it doesn't work.
What is the problem?
B.R.
Benjamin Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20130304/0b302d13/attachment.html>
More information about the collectd
mailing list