netdata Graphite

Massive collection of netdata graphs via Graphite.

netdata Graphite screenshot 1
netdata Graphite screenshot 2
netdata Graphite screenshot 3
netdata Graphite screenshot 4
netdata Graphite screenshot 5
netdata Graphite screenshot 6
netdata Graphite screenshot 7
netdata Graphite screenshot 8
netdata Graphite screenshot 9
netdata Graphite screenshot 10
netdata Graphite screenshot 11
netdata Graphite screenshot 12
netdata Graphite screenshot 13
netdata Graphite screenshot 14
netdata Graphite screenshot 15
netdata Graphite screenshot 16
netdata Graphite screenshot 17
netdata Graphite screenshot 18

netdata Graphite Dashboard

Metrics provided by netdata, written into Graphite and displayed via Grafana!

Compatibility

  • netdata v1.8.0
  • It should display the most panels for a default installation of linux.
  • It’s tested on Debian Stretch x64, OSMC (on Raspberry PI2) & armbian (on OrangePi+2E).
  • This dashboard uses templating heavily but as a limitation of grafana it is not possible to hide panels with no data.
  • Special handling of data provided by the use of docker at the collected hosts.

Metric Field description

  1. datasource = your graphite datasource for this dashboard.
  2. rootdir = also known as prefix, used to summarize metrics of a collector.
  3. server = Server Name without .. Please see Rewrites Section.

Additional Metrics

You can see them at the top of the dashboard.

  1. interface = Network interfaces
  2. tc = Quality of Service
  3. cpu = CPUs
  4. disk = Disk IOPs
  5. disk_space = Disk Space
  6. cgroupplugin = Output of cgroup plugin
  7. pythonplugin = Output of python plugin

Dependencies

Rewrites

Note: Please keep in mind that hostnames usually contain .. You may want to consider symlinking in the storage directory instead or do rewriting of metrics, as this dashboard uses only the 2nd field for the hostname. eth sub interfaces (like eth0.1) and cgroupplugin needs rewrites as well. A sample configuration for carbon-c-relay is provided above.

carbon-c-relay rewrites

# Rewrite Host
rewrite ^netdata\.([a-z0-9]+)\.example\.com\.
    into netdata.\1_example_com.
    ;
 
# Rewrite network subinterfaces
rewrite ^netdata\.([a-z0-9\_]+)\.net\.(eth[0-9]+)\.([0-9]+)\.
    into netdata.\1.net.\2_\3.
    ;
 
# Fix recursion of cgroup plugin
rewrite ^netdata\.([a-z0-9\_]+)\.(cgroup\_[a-z0-9\_]+)\.(cgroup\_[a-z0-9\_]+\.)+
    into netdata.\1.\2.
    ;

Storage Schema

Note: As netdata is designed for live views you may want to configure an aligned storage schema that matches netdata’s own interval called update every (see this link) as well.

Storage Schema example config

storage-schemas.conf for the default value of netdata’s update every (1s):

[netdata]
pattern = ^netdata\.
retentions = 1s:3h

Configuration

  • Optional but recommended: deploy provided rewriting
  • Optional but recommended: Master-Slave Setup
  • Configure netdata to write to Graphite
  • Import Dashboard and select the appropriate values at the top variable list for: datasource, rootdir, server.
  • Adopt the dashboard’s refresh interval to fit your needs.
  • Enjoy!
Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies