From 73bb37566204620674f25e818e63348c1dcec699 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 11 Jun 2020 14:48:03 -0400 Subject: [PATCH] have telegraf get data for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 --- salt/telegraf/etc/telegraf.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/telegraf/etc/telegraf.conf b/salt/telegraf/etc/telegraf.conf index c55c5e04c..eacdcde4b 100644 --- a/salt/telegraf/etc/telegraf.conf +++ b/salt/telegraf/etc/telegraf.conf @@ -666,14 +666,14 @@ # # Read metrics from one or more commands that can output to stdout # ## Commands array -{% if grains['role'] in ['so-master', 'so-mastersearch'] %} +{% if grains['role'] in ['so-master', 'so-mastersearch', 'so-standalone'] %} [[inputs.exec]] commands = [ "/scripts/redis.sh", "/scripts/influxdbsize.sh" ] data_format = "influx" -{% elif grains['role'] in ['so-sensor', 'so-heavynode'] %} +{% elif grains['role'] in ['so-sensor', 'so-heavynode', 'so-standalone'] %} [[inputs.exec]] commands = [ "/scripts/stenoloss.sh",