Configure CollectD

Configure CollectD for Metrics Data Platform

Last updated 23rd August, 2019


CollectD is a Unix daemon that collects, transfers and stores performance data of computers and network equipment. In this guide, you will learn how to configure it for Metrics Data Platform.


  • a valid Metrics account.
  • a UNIX/Linux machine


What is CollectD

Collectd gathers metrics from various sources, e.g. the operating system, applications, logfiles and external devices, and stores this information or makes it available over the network. Those statistics can be used to monitor systems, find performance bottlenecks (i.e. performance analysis) and predict future system load (i.e. capacity planning).

Install CollectD

To ensure using the last release, please refer to the official installation guide located on CollectD website.

Install Warp 10™ plugin

In order to use CollectD with Metrics, you need to add an additional plugin. You can start by creating a scripts directory

$ mkdir -p /etc/collectd/scripts

Then, add the Warp 10™ plugin into the availables scripts

$ curl -s '' > '/etc/collectd/scripts/'

Configure CollectD

Collectd works with plugins, we need to load the Python one to load our Warp 10™ plugin.

This plugin is developped and maintained by OVH teams on their own infrastructures. It's goal is to push by an efficient way all CollectD metrics into the Metrics platform

to enable it:

add the following lines in the Collectd configuration file (mostly etc/collectd/collectd.conf)

LoadPlugin python

<Plugin python>
  ModulePath "/etc/collectd/scripts"
  LogTraces true
  Interactive false
  Import "write_warp10"
  <Module write_warp10>
    DefaultLabel host "serverXXX"
    URL ""

Finaly, replace METRICS_WRITE_TOKEN with a Metrics write token (you can get one on the Metrics manager)

Depanding of your infrastructure, you can explicitly add Labels on your metrics, that's what do DefaultLabel directive.

On the example, you can see gra1 in the URL, each Metrics project is linked to a region (gra1, bhs1, ...) replace it if needed.

Enable Metrics

A list of basic metrics is shipped on the configuration file, for example if you want to get your Apache metrics, uncomment this line:

#LoadPlugin apache

This is the same thing to monitor HDD temperature:

#LoadPlugin hddtemp

Go further

Cette documentation vous a-t-elle été utile ?

N’hésitez pas à nous proposer des suggestions d’amélioration afin de faire évoluer cette documentation.

Images, contenu, structure… N’hésitez pas à nous dire pourquoi afin de la faire évoluer ensemble !

Vos demandes d’assistance ne seront pas traitées par ce formulaire. Pour cela, utilisez le formulaire "Créer un ticket" .

Merci beaucoup pour votre aide ! Vos retours seront étudiés au plus vite par nos équipes..

Ces guides pourraient également vous intéresser...

OVHcloud Community

Accedez à votre espace communautaire. Posez des questions, recherchez des informations, publiez du contenu et interagissez avec d’autres membres d'OVHcloud Community.

Echanger sur OVHcloud Community