System Dashboard (Telegraf + Netdata)


InfluxDB dashboards for telegraf metrics + netdata Pressure Stall Information
Last updated: 6 months ago

Downloads: 67

Reviews: 0

  • System_Dashboard_Telegraf_Netdata_1.png

System Dashboard: Telegraf + Netdata

Based on, with tweaks.

The first page is a condensed system summary, including:

  • CPU usage by core in single graph
  • Memory usage (using the Committed_AS and Available values, which are more useful for overviews)
  • Disk I/O for all disks in a single graph
  • Network usage
  • Linux Pressure Stall Information (PSI), collected by Netdata

Tweaks to the original dashboard:

The influxdb datasource variables $telegraf and $netdata are hidden by default. To change them after importing the dashboard, open the dashboard settings, go to the variables section, click on the variable, change the "hide" selection box to the empty value, and click update. When you return to the dashboard, the variable will be modifiable at the top of the dashboard next to the other variables.

Collector Configuration Details

/etc/telegraf/telegraf.conf configuration

Update the default telegraf.conf file to uncomment the following collector sections and properties

  # Update the Grafana internal metrics query interval to match the interval value
  interval = "10s"
  # Configure to connect to influxdb
  percpu = true
  totalcpu = true
  collect_cpu_time = false # Optional
  report_active = false
  ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
  skip_serial_number = false # Optional
  # no configuration
  # no configuration
  # no configuration
  # no configuration
  # no configuration
  # default configuration
  # default configuration
  # default configuration
  cpu_as_tag = true # Optional
  # no configuration
  # no configuration
  # default configuration
  # no configuration
  # default configuration
  # default configuration

/etc/influxdb/influxdb.conf configuration

Update the default influxdb.conf file to uncomment the opentsdb section and configure its properties

  enabled = true
  bind-address = "localhost:4242"
  database = "opentsdb"

/etc/netdata/netdata.conf configuration

Add and configure the backend section to the default netdata.conf file to write to influxdb

    enabled = yes
    type = opentsdb
    destination = localhost:4242