add inputs for so-receiver to telegraf conf

This commit is contained in:
m0duspwnens
2022-01-28 17:18:31 -05:00
parent ddba4a5fe5
commit 1cd1ad9214

View File

@@ -677,7 +677,7 @@
# ## Use TLS but skip chain & host verification
# # insecure_skip_verify = false
{% if grains.role in ['so-node','so-standalone','so-manager', 'so-managersearch', 'so-heavynode'] -%}
{% if grains.role in ['so-node','so-standalone','so-manager', 'so-managersearch', 'so-heavynode', 'so-receiver'] -%}
[[inputs.logstash]]
url = "http://localhost:9600"
collect = ["pipelines"]
@@ -687,7 +687,7 @@
{%- endif %}
{%- endif %}
{# if grains.role in ['so-eval','so-standalone','so-manager', 'so-managersearch', 'so-heavynode'] -%}
{# if grains.role in ['so-eval','so-standalone','so-manager', 'so-managersearch', 'so-heavynode', 'so-receiver'] -%}
[[inputs.redis]]
servers = ["tcp://localhost:6379"]
{%- endif #}
@@ -735,7 +735,7 @@
data_format = "influx"
## Timeout for each command to complete.
timeout = "15s"
{% elif grains['role'] in ['so-node'] %}
{% elif grains['role'] in ['so-node', 'so-receiver'] %}
[[inputs.exec]]
commands = [
"/scripts/eps.sh",