| ZPOOL_INFLUXDB(8) | System Manager's Manual | ZPOOL_INFLUXDB(8) |
zpool_influxdb —
collect ZFS pool statistics in InfluxDB line protocol
format
zpool_influxdb |
[-e|--execd]
[-n|--no-histogram]
[-s|--sum-histogram-buckets]
[-t|--tags
key=value[,key=value]…]
[pool] |
zpool_influxdb produces
InfluxDB-line-protocol-compatible metrics from zpools. Like the
zpool command,
zpool_influxdb reads the current pool status and
statistics. Unlike the zpool command which is
intended for humans, zpool_influxdb formats the
output in the InfluxDB line protocol. The expected use is as a plugin to a
metrics collector or aggregator, such as Telegraf.
By default, zpool_influxdb prints pool
metrics and status in the InfluxDB line protocol format. All pools are
printed, similar to the zpool
status command. Providing a pool name restricts the
output to the named pool.
-e,
--execdexecd plugin. In this mode, the pools are sampled
every time a newline appears on the standard input.-n,
--no-histogram-s,
--sum-histogram-bucketszpool
iostat. This works well for Grafana's heatmap
plugin. Summing the buckets produces output similar to Prometheus
histograms.-t,
--tags
key=value[,key=value]…-h,
--helpzpool-iostat(8), zpool-status(8), InfluxDB, Telegraf, Grafana, Prometheus
| May 26, 2021 | OpenZFS |