aboutsummaryrefslogtreecommitdiff
path: root/cmd/zpool_influxdb/telegraf.d/exec_zpool_influxdb.conf
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2021-01-07 23:19:59 +0000
committerMatt Macy <mmacy@FreeBSD.org>2021-01-07 23:19:59 +0000
commit42385c279bad198701badabdab661df49f2acb9a (patch)
tree529931aeb217bb13f5cbfb4eb38fd75163d251ba /cmd/zpool_influxdb/telegraf.d/exec_zpool_influxdb.conf
parent0be360124f8f108f73365e31448e7550f877f3ac (diff)
downloadsrc-42385c279bad198701badabdab661df49f2acb9a.tar.gz
src-42385c279bad198701badabdab661df49f2acb9a.zip
Update OpenZFS to master-f11b09vendor/openzfs/20210107
Diffstat (limited to 'cmd/zpool_influxdb/telegraf.d/exec_zpool_influxdb.conf')
-rw-r--r--cmd/zpool_influxdb/telegraf.d/exec_zpool_influxdb.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/cmd/zpool_influxdb/telegraf.d/exec_zpool_influxdb.conf b/cmd/zpool_influxdb/telegraf.d/exec_zpool_influxdb.conf
new file mode 100644
index 000000000000..a2efa61892ff
--- /dev/null
+++ b/cmd/zpool_influxdb/telegraf.d/exec_zpool_influxdb.conf
@@ -0,0 +1,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"