<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<pre><br />Hi everyone,
I am trying to setup collectd+rrdcached on a debian squeeze, so here is
the setup:
[root@XXX]:/ # dpkg -l |egrep 'collectd|rrdca'
ii collectd
4.10.1-1+squeeze2 statistics collection and monitoring daemon
ii collectd-core
4.10.1-1+squeeze2 statistics collection and monitoring daemon
(core system)
ii collectd-utils
4.10.1-1+squeeze2 statistics collection and monitoring daemon
(utilities)
ii libcollectdclient0
4.10.1-1+squeeze2 client library for collectd's control interface
ii rrdcached
1.4.3-1 data caching daemon for RRDtool
So here are the configuration files:
[root@XXX]:/ # cat /etc/collectd.d/rrdcached.conf
LoadPlugin rrdcached
DaemonAddress "unix:/var/run/rrdcached.sock"
DataDir "/var/lib/collectd/rrd"
CreateFiles true
[root@XXX]:/# ps -edf|grep rrdc
root 11661 1 0 15:11 ? 00:00:00 /usr/bin/rrdcached -l
unix:/var/run/rrdcached.sock -j /var/lib/rrdcached/journal/ -F -b
/var/lib/rrdcached/db/ -B -p /var/run/rrdcached.pid
And when I am trying to start collectd here are the error log:
Jun 7 15:11:07 extranet collectd[11692]: rrdcached plugin: rrdc_update
(/var/lib/collectd/rrd/XXX/processes/ps_state-sleeping.rrd,
[1339074667:107.000000], 1) failed with status -1.
Jun 7 15:11:07 extranet collectd[11692]: rrdcached plugin: rrdc_update
(/var/lib/collectd/rrd/XXX/processes/ps_state-zombies.rrd,
[1339074667:0.000000], 1) failed with status -1.
For every plugin defined in collectd.
So anyone has any idea?
</pre>
</blockquote>
<p>Hi alone,</p>
<p>The quickest method IMHO to know why is to use strace -s 100 -f -p <pid_of_rrdcached> </p>
<p>I've already try to make error from rrdcached available in collectd logs, but rrdcached need to be patched ...</p>
<p>Cyril</p>
<div> </div>
</body></html>