mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +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
|
# # Read metrics from one or more commands that can output to stdout
|
||||||
|
|
||||||
# ## Commands array
|
# ## Commands array
|
||||||
{% if grains['role'] in ['so-master', 'so-mastersearch'] %}
|
{% if grains['role'] in ['so-master', 'so-mastersearch', 'so-standalone'] %}
|
||||||
[[inputs.exec]]
|
[[inputs.exec]]
|
||||||
commands = [
|
commands = [
|
||||||
"/scripts/redis.sh",
|
"/scripts/redis.sh",
|
||||||
"/scripts/influxdbsize.sh"
|
"/scripts/influxdbsize.sh"
|
||||||
]
|
]
|
||||||
data_format = "influx"
|
data_format = "influx"
|
||||||
{% elif grains['role'] in ['so-sensor', 'so-heavynode'] %}
|
{% elif grains['role'] in ['so-sensor', 'so-heavynode', 'so-standalone'] %}
|
||||||
[[inputs.exec]]
|
[[inputs.exec]]
|
||||||
commands = [
|
commands = [
|
||||||
"/scripts/stenoloss.sh",
|
"/scripts/stenoloss.sh",
|
||||||
|
|||||||
Reference in New Issue
Block a user