Fix Telegraf sostatus

This commit is contained in:
Mike Reeves
2021-04-08 11:42:41 -04:00
parent 09b14e6a86
commit b53815d04a

View File

@@ -663,6 +663,15 @@
# # Read metrics from one or more commands that can output to stdout
[[inputs.exec]]
commands = [
"/scripts/sostatus.sh"
]
data_format = "influx"
timeout = "15s"
interval = "180s"
# ## Commands array
{% if grains['role'] in ['so-manager', 'so-managersearch'] %}
[[inputs.exec]]