Skip to content

Grafana dashboard for viewing ZFS pool metrics with data collected by zpool_influxdb

Notifications You must be signed in to change notification settings

bertiebaggio/grafana-zfs-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

grafana-zfs-metrics

granfana-zfs-metrics-overview-1

A dashboard of metrics produced by the zpool_influxdb utility. You can read the manpage and check out the tool's GitHub page for more info on what it does and how it works.

Features include pool activity, status, queues, and individual/aggregate IO sizes.

This is a port of Scott MacDonald's influxQL / v1 dashboard. This updated dashboard supports InfluxDBv2 and is written in flux.

This dahboard is posted on Grafana's dashboards section. If you have time, I'd appreciate a rating and review there!

Configuration

This uses Telegraf with the zpool_influxdb collector. A detailed setup guide can be found over at the du.nkel.dev blog, but a simple minimal config is:

#  Read metrics from zpool_influxdb
[[inputs.exec]]
  # CHECK PATH! Default installation location for zpool_influxdb command may be elsewhere
  commands = ["/usr/lib/zfs-linux/zpool_influxdb"]
  timeout = "5s"
  data_format = "influx"

Thanks to @CalebFenton for noting data_format is needed too.

Porting Details

If you're interested in how this was ported from influxQL to flux, I have a series of posts over on my blog on the motivation and process: Part 1, Part 2, Part 3, Part 4, Part 5.

About

Grafana dashboard for viewing ZFS pool metrics with data collected by zpool_influxdb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published