aboutsummaryrefslogtreecommitdiff
path: root/cmd/zpool_influxdb/telegraf.d/exec_zpool_influxdb.conf
blob: a2efa61892ffb6c9d72ae74d714cf43fa64c0ef9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# # Read metrics from zpool_influxdb
[[inputs.exec]]
#   ## default installation location for zpool_influxdb command
  commands = ["/usr/local/libexec/zfs/zpool_influxdb"]
#   ## 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"