mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-16 12:13:30 +01:00
add agentstatus to telegraf
This commit is contained in:
@@ -11,6 +11,7 @@ telegraf:
|
||||
quiet: 'false'
|
||||
scripts:
|
||||
eval:
|
||||
- agentstatus.sh
|
||||
- checkfiles.sh
|
||||
- influxdbsize.sh
|
||||
- lasthighstate.sh
|
||||
@@ -23,6 +24,7 @@ telegraf:
|
||||
- zeekcaptureloss.sh
|
||||
- zeekloss.sh
|
||||
standalone:
|
||||
- agentstatus.sh
|
||||
- checkfiles.sh
|
||||
- eps.sh
|
||||
- influxdbsize.sh
|
||||
@@ -38,6 +40,7 @@ telegraf:
|
||||
- zeekloss.sh
|
||||
- features.sh
|
||||
manager:
|
||||
- agentstatus.sh
|
||||
- influxdbsize.sh
|
||||
- lasthighstate.sh
|
||||
- os.sh
|
||||
@@ -46,6 +49,7 @@ telegraf:
|
||||
- sostatus.sh
|
||||
- features.sh
|
||||
managersearch:
|
||||
- agentstatus.sh
|
||||
- eps.sh
|
||||
- influxdbsize.sh
|
||||
- lasthighstate.sh
|
||||
|
||||
@@ -202,16 +202,6 @@
|
||||
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