mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Common Module - Grafana Updates to Datasources and Telegraf
This commit is contained in:
@@ -11,10 +11,7 @@ datasources:
|
||||
database: telegraf
|
||||
url: https://{{ grains.master }}:8086
|
||||
jsonData:
|
||||
tlsAuth: true
|
||||
tlsAuthWithCACert: true
|
||||
secureJsonData:
|
||||
tlsCACert: "/etc/pki/ca.crt"
|
||||
tlsClientCert: "/etc/pki/grafana.crt"
|
||||
tlsClientKey: "/etc/pki/grafana.key"
|
||||
tlsAuth: false
|
||||
tlsAuthWithCACert: false
|
||||
tlsSkipVerify: true
|
||||
version: 1
|
||||
|
||||
@@ -516,11 +516,11 @@
|
||||
|
||||
|
||||
# # Read metrics about docker containers
|
||||
# [[inputs.docker]]
|
||||
[[inputs.docker]]
|
||||
# ## Docker Endpoint
|
||||
# ## To use TCP, set endpoint = "tcp://[ip]:[port]"
|
||||
# ## To use environment variables (ie, docker-machine), set endpoint = "ENV"
|
||||
# endpoint = "unix:///var/run/docker.sock"
|
||||
endpoint = "unix:///var/run/docker.sock"
|
||||
#
|
||||
# ## Set to true to collect Swarm metrics(desired_replicas, running_replicas)
|
||||
# gather_services = false
|
||||
@@ -563,11 +563,11 @@
|
||||
|
||||
|
||||
# # Read stats from one or more Elasticsearch servers or clusters
|
||||
# [[inputs.elasticsearch]]
|
||||
[[inputs.elasticsearch]]
|
||||
# ## specify a list of one or more Elasticsearch servers
|
||||
# # you can add username and password to your url to use basic authentication:
|
||||
# # servers = ["http://user:pass@localhost:9200"]
|
||||
# servers = ["http://localhost:9200"]
|
||||
servers = ["http://{{ MASTER }}:9200"]
|
||||
#
|
||||
# ## Timeout for HTTP requests to the elastic search server(s)
|
||||
# http_timeout = "5s"
|
||||
@@ -916,7 +916,7 @@
|
||||
|
||||
|
||||
# # Read metrics about network interface usage
|
||||
# [[inputs.net]]
|
||||
[[inputs.net]]
|
||||
# ## By default, telegraf gathers stats from any up interface (excluding loopback)
|
||||
# ## Setting interfaces will tell it to gather these explicit interfaces,
|
||||
# ## regardless of status.
|
||||
|
||||
Reference in New Issue
Block a user