[collectd] tunneling statsd through collectd then splitting off to graphite via filters
collectd-question at mailinator.com
Tue Oct 1 09:29:37 CEST 2013
I'm using collectd 5.4 on lucid and trying out the statsd and graphite plugins.
My intention was to replace standalone statsd instances on clients with the
collectd statsd plugin, then have the collectd server log all non-statsd data locally
via rrdcached, whilst using the write_graphite plugin to forward all statsd traffic
off to a separate graphite server.
When I configure no filters and have both the rrdcached and write_graphite plugins
configured, all data goes to both destinations as expected.
On the server:
On the client:
When adding the following included by collectd.conf after the above files
# send all `statsd' values to the write_graphite plugin
(This config is based on the mysql example from
I get nothing being sent to the graphite server, whilst the rrdcached data seems
to come through for the most part. I see the following in the logs:
Filter subsystem: Built-in target `write': Dispatching value to the `rrdcached'
plugin failed with status -1.
Filter subsystem: Built-in target `write': Dispatching value to the `write_graphite'
plugin failed with status 2.
I'm not concerned with the rrdcached errors at the moment, only the
Initially I wanted to put the write_graphite forwarding in the PreCache chain, but
the docs suggest that only the PostCache chain has access to the write plugins.
Any pointers on where I'm going wrong would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the collectd