Fix telegraf with zookeeper (wrong port variable reference)
Change-Id: I29f65c83b9bd45e463d868cf9a55611f33fe3177 Closes-bug: #1867179
This commit is contained in:
parent
2a2ce059dc
commit
939b6f7958
@ -83,7 +83,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if inventory_hostname in groups['zookeeper'] and enable_zookeeper | bool %}
|
{% if inventory_hostname in groups['zookeeper'] and enable_zookeeper | bool %}
|
||||||
[[inputs.zookeeper]]
|
[[inputs.zookeeper]]
|
||||||
servers = ["{{ api_interface_address | put_address_in_context('url') }}:{{ zookeeper_port }}"]
|
servers = ["{{ api_interface_address | put_address_in_context('url') }}:{{ zookeeper_client_port }}"]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if inventory_hostname in groups['kafka'] and enable_kafka | bool %}
|
{% if inventory_hostname in groups['kafka'] and enable_kafka | bool %}
|
||||||
[[inputs.kafka_consumer]]
|
[[inputs.kafka_consumer]]
|
||||||
|
6
releasenotes/notes/bug-1867179-9e31460ba53757d4.yaml
Normal file
6
releasenotes/notes/bug-1867179-9e31460ba53757d4.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes failure to deploy telegraf with monitoring of zookeeper due
|
||||||
|
to wrong variable being referenced.
|
||||||
|
`LP#1867179 <https://launchpad.net/bugs/1867179>`__
|
Loading…
Reference in New Issue
Block a user