Collectd-Gnocchi system metrics


Example of dashboard of System metrics collected by Collectd and stored in Gnocchi >= 4.1
Last updated: 4 years ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 588

Reviews: 1

  • grafana-screenshot.png
  • grafana-dynamic.png

This dashboard shows system metrics collected with Collectd and stored in Gnocchi.

The dashboard uses features that requires Gnocchi >=4.1

Collector Configuration Details

A special Gnocchi Archive Policy need to be configured to compute the rate of change network metrics:

gnocchi archive-policy create -d granularity:0:05:00,points:8640 rate:low -m rate:last
gnocchi archive-policy-rule create -m "interface-*@if_*" -a rate:low network-interface-rate

The following configuration of Collectd have been used:

Hostname "my-hostname"

FQDNLookup false
Interval 10
Timeout 2
ReadThreads 5

LoadPlugin aggregation
<Plugin aggregation>
    Plugin "cpu"
    Type "percent"
    GroupBy "Host"
    GroupBy "TypeInstance"
    CalculateNum false
    CalculateSum false
    CalculateAverage true
    CalculateMinimum false
    CalculateMaximum false
    CalculateStddev false

LoadPlugin cpu
<Plugin cpu>
  ReportByCpu true
  ReportByState true
  ValuesPercentage true

LoadPlugin df
<Plugin df>
    ReportInodes true
    ValuesPercentage true

LoadPlugin disk

LoadPlugin memory
<Plugin memory>
    ValuesAbsolute true
    ValuesPercentage true

LoadPlugin processes
LoadPlugin uptime

LoadPlugin interface
LoadPlugin load
LoadPlugin network

LoadPlugin python
<Plugin python>
  Import "collectd_gnocchi"
  <Module collectd_gnocchi>
    Endpoint "http://gnocchi-api:8041/"
    User admin