[collectd] collectd: rrdcached plugin: rrdc_update failed with status -1
Yves Mettier
ymettier at free.fr
Thu Jul 18 08:28:27 CEST 2013
Hello,
Please provide the version number of the collectd you are using.
Sometimes, it helps.
For what I can say now, I think that you should not use both rrdcached
and rrdtool.
If you use rrdcached, do not forget to add "CreateFiles true".
Also check that collectd (and rrdcached if you are using it) has the
permissions to go to /var/lib/rrdcached/db/collectd and then to write
files there.
More info here :
llectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_rrdcached
https://collectd.org/wiki/index.php/Plugin:RRDCacheD (this one should be
updated)
Regards,
Yves
Le 2013-07-17 23:55, Zhou, Yuantai a écrit :
> Hi All,
> We want to use the RRDCached plugin in our collectd environment but we
> are seeing a lot of errors in syslog from collectd servers (and
> collectd clients) like the following:
>
> rrdcached plugin: rrdc_update
> (/var/lib/rrdcached/db/collectd/xxxxxxxxxxx/df/df-root.rrd,
> [1374097922:0.000000:0.010000:0.050000], 1) failed with status -1.
>
> The error appears to happen for every rrd file
>
> The RRDCached plugin configurations is as follows:
>
> <Plugin rrdcached>
> DaemonAddress "unix:/var/run/rrdcached.sock"
> DataDir "/var/lib/rrdcached/db/collectd"
> CollectStatistics true
> </Plugin>
>
> <Plugin rrdtool>
> DataDir "/var/lib/rrdcached/db/collectd"
> CacheTimeout 60
> CacheFlush 3600
> WritesPerSecond 1800
> RandomTimeout 30
> </Plugin>
>
> We do see that the RRD files (at least some or most of them) are being
> updated (with new timestamps).
>
> Any way to resolve the error?
>
> Thanks.
> Yuantai
>
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd
--
- Homepage - http://ymettier.free.fr -
- GPG key - http://ymettier.free.fr/gpg.txt -
- C en action - http://ymettier.free.fr/livres/C_en_action_ed2.html -
- Guide Survie C - http://www.pearson.fr/livre/?GCOI=27440100673730 -
More information about the collectd
mailing list