From b53815d04af3731f59fdf466653f040715d10f7f Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 8 Apr 2021 11:42:41 -0400 Subject: [PATCH] Fix Telegraf sostatus --- salt/telegraf/etc/telegraf.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/salt/telegraf/etc/telegraf.conf b/salt/telegraf/etc/telegraf.conf index f6bcbdaf5..1b172485b 100644 --- a/salt/telegraf/etc/telegraf.conf +++ b/salt/telegraf/etc/telegraf.conf @@ -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]]