mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
add agentstatus to telegraf
This commit is contained in:
@@ -202,6 +202,16 @@
|
|||||||
insecure_skip_verify = true
|
insecure_skip_verify = true
|
||||||
{%- endif %}
|
{%- 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)
|
# ## Timeout for HTTP requests to the elastic search server(s)
|
||||||
# http_timeout = "5s"
|
# http_timeout = "5s"
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user