mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
have telegraf get data for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user