2020-10-09 19:29:21 +03:00
|
|
|
# # Read metrics from zpool_influxdb
|
|
|
|
[[inputs.exec]]
|
|
|
|
# ## default installation location for zpool_influxdb command
|
2020-11-28 22:15:57 +03:00
|
|
|
commands = ["/usr/local/libexec/zfs/zpool_influxdb"]
|
2020-10-09 19:29:21 +03:00
|
|
|
# ## Timeout for each command to complete.
|
|
|
|
# timeout = "5s"
|
|
|
|
#
|
|
|
|
# ## measurement name suffix (for separating different commands)
|
|
|
|
# name_suffix = "_mycollector"
|
|
|
|
#
|
|
|
|
# ## Data format to consume.
|
|
|
|
# ## Each data format has its own unique set of configuration options, read
|
|
|
|
# ## more about them here:
|
|
|
|
# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
|
|
|
|
data_format = "influx"
|