add monitoring of zookeeper

add monitoring of zookeeper

Change-Id: I1db23b67dd8f83f9341a376d9cd2d9a49abd4427
This commit is contained in:
pangliye 2018-11-13 11:43:09 +08:00
parent cb77c20fb2
commit 22d3857ce7
1 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,10 @@
[[inputs.redis]]
servers = ["{{ tcp://:{{ redis_master_password }}@{{ api_interface_address }}:{{ redis_port }}"]
{% endif %}
{% if inventory_hostname in groups['zookeeper'] and enable_zookeeper | bool %}
[[inputs.zookeeper]]
servers = ["{{ api_interface_address }}:{{ zookeeper_port }}"]
{% endif %}
{% if inventory_hostname in groups['mariadb'] and (enable_mariadb or enable_external_mariadb_load_balancer) | bool %}
[[inputs.mysql]]
servers = ["{{ database_user }}:{{ database_password }}@{{ mariadb_proto }}({{ api_interface_address }}:{{ database_port }})/"]