|Callbacks:||config, init, read, shutdown, write|
|Copyright:||2008–2013 Florian Forster|
|List of Plugins|
The RRDCacheD plugin connects to the “RRD caching daemon”, rrdcached and submits updates for RRD files to that daemon. rrdcached is based on the RRDtool plugin of collectd and basically uses the same principles that are described in “Inside the RRDtool plugin”.
Having the cache in a separate process is some more work to set up, but has nice benefits, especially for big setups: You can restart collectd without flushing the cache, have the cache on a remote server and, of course, applications other than collectd can make use of it.
rrdcached has been included in the RRDtool distribution since version 1.4.
<Plugin "rrdcached"> DaemonAddress "unix:/var/run/rrdcached.sock" DataDir "/var/lib/collectd/rrd" CreateFiles true </Plugin>
Values written to disk per second. Since many values are written in one write operation, the number of write operations per second is much lower. As you can see if you compare this graph with the one above, there are in average 490 data sets in one write operation.
- librrd (≧ 1.4. Version 1.3 is not recent enough!)