Collectd Add on

collectd is a daemon which collects system performance statistics, can be configured to a Graphite output, and then easily forwarded to a Hosted Graphite account.

Host "carbon.hostedgraphite.com"
Port "2003"
Prefix "<your-api-key>.collectd."
  • Your API key can be found on the main page of your Hosted Graphite account.

Review the write_graphite plugin documentation for details of the other write_graphite plugin settings.

Downloadable Configuration:

You can download a configuration file for collectd, pre-filled with your Hosted Graphite account details, from our Agents page. These configurations are compatible with multiple versions of collectd but we provide v5.2 and v5.4 for the purpose of keeping the config file as close to the default one as possible.

By default, a number of collectd plugins are enabled including CPU, DF (file system usage), disk, entropy, interface, load, memory, processes, rrdtool, swap, users, and as previously mentioned write_graphite. There are also many other configureable plugins for DNS, IP Tables, Kafka, Logstash, MQTT, nginx, Postgres, Redis, SNMP, and more!

Once downloaded, you can place this file in /etc/collectd/ (or where ever you’ve configured collectd to store its config file). Then restart the collectd daemon:

sudo service collectd restart or sudo systemctl restart collectd

Roughly 150 default metrics per machine will arrive within minutes, and will be prefixed with: collectd.*

Collectd Dashboard:

There is a collectd dashboard (v5.4) which you can generate using our Dashboard Library.

This dashboard aims to provide an overview of the default plugins provided by collectd, and can be further customized depending on which collectd plugins are enabled in your collectd.conf file.

Last updated