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