mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
add agentstatus to telegraf
This commit is contained in:
@@ -202,6 +202,16 @@
|
||||
insecure_skip_verify = true
|
||||
{%- endif %}
|
||||
|
||||
# # Get Agent Stats
|
||||
{%- if grains['role'] in ['so-manager', 'so-eval', 'so-managersearch', 'so-standalone', 'so-import'] %}
|
||||
[[inputs.exec]]
|
||||
commands = [
|
||||
"/scripts/agentstatus.sh"
|
||||
]
|
||||
data_format = "influx"
|
||||
timeout = "15s"
|
||||
{%- endif %}
|
||||
|
||||
# ## Timeout for HTTP requests to the elastic search server(s)
|
||||
# http_timeout = "5s"
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user