mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #3806 from Security-Onion-Solutions/saltfix
Fix Telegraf sostatus
This commit is contained in:
@@ -663,6 +663,15 @@
|
|||||||
|
|
||||||
# # Read metrics from one or more commands that can output to stdout
|
# # Read metrics from one or more commands that can output to stdout
|
||||||
|
|
||||||
|
[[inputs.exec]]
|
||||||
|
commands = [
|
||||||
|
"/scripts/sostatus.sh"
|
||||||
|
]
|
||||||
|
data_format = "influx"
|
||||||
|
timeout = "15s"
|
||||||
|
interval = "180s"
|
||||||
|
|
||||||
|
|
||||||
# ## Commands array
|
# ## Commands array
|
||||||
{% if grains['role'] in ['so-manager', 'so-managersearch'] %}
|
{% if grains['role'] in ['so-manager', 'so-managersearch'] %}
|
||||||
[[inputs.exec]]
|
[[inputs.exec]]
|
||||||
|
|||||||
Reference in New Issue
Block a user