diff --git a/salt/telegraf/etc/telegraf.conf b/salt/telegraf/etc/telegraf.conf index ff1457ba1..99de6effd 100644 --- a/salt/telegraf/etc/telegraf.conf +++ b/salt/telegraf/etc/telegraf.conf @@ -839,8 +839,8 @@ {% endif %} {% if grains.role in ['so-manager', 'so-managersearch', 'so-standalone', 'so-eval'] %} [[inputs.file]] - files = ["/opt/so/conf/telegraf/node_tab.json"] - name_override = "node_config" + files = ["/host/opt/so/conf/telegraf/nodes_config.json"] + name_override = "nodes_config" data_format = "json" interval = "5m" {% endif %} diff --git a/salt/telegraf/init.sls b/salt/telegraf/init.sls index 90731c602..df75db74c 100644 --- a/salt/telegraf/init.sls +++ b/salt/telegraf/init.sls @@ -47,8 +47,8 @@ tgrafconf: # into influx so that grafan can build dashboards using queries node_tab: file.managed: - - name: /opt/so/conf/telegraf/node_tab.json - - source: salt://telegraf/node_tab.json.jinja + - name: /opt/so/conf/telegraf/nodes_config.json + - source: salt://telegraf/nodes_config.json.jinja - template: jinja {% endif %}