Collectd support

Collectd can use Gnocchi to store its data through a plugin called collectd-gnocchi or via the gnocchi-amqp1d daemon.

collectd-gnocchi

It can be installed with pip:

pip install collectd-gnocchi

Sources and documentation are also available.

gnocchi-amqp1d

You need first to setup the Collectd amqp1 write plugin:

<Plugin amqp1>
  <Transport "name">
    Host "localhost"
    Port "5672"
    Address "collectd"
    <Instance "telemetry">
        Format JSON
    </Instance>
  </Transport>
</Plugin>

Then configure the AMQP 1.0 url in gnocchi.conf:

[amqp1d]
url = localhost:5672/u/collectd/telemetry