Point metricbeat haproxy collector to existing stats endpoint
Change-Id: I36e86746a851d48501bce7f91910761a08d20196
This commit is contained in:
parent
31c5b833ed
commit
62f9508df2
@ -213,7 +213,7 @@ metricbeat.modules:
|
||||
- module: haproxy
|
||||
metricsets: ["info", "stat"]
|
||||
period: 30s
|
||||
hosts: ["tcp://127.0.0.1:14567"]
|
||||
hosts: [ {{ elastic_metricbeat_haproxy_monitoring_hosts }} ]
|
||||
#
|
||||
{% endif %}
|
||||
##-------------------------------- HTTP Module --------------------------------
|
||||
|
@ -3,6 +3,9 @@ elk_repo:
|
||||
repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
|
||||
state: "{{ elk_package_state | default('present') }}"
|
||||
|
||||
#metricbeats monitoring endpoints
|
||||
elastic_metricbeat_haproxy_monitoring_hosts: '"unix:///var/run/haproxy.stat"'
|
||||
|
||||
# elastic search vars
|
||||
elastic_port: 9200
|
||||
elastic_hap_port: 9201
|
||||
|
Loading…
x
Reference in New Issue
Block a user