You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[inputs.zookeeper]]
## An array of address to gather stats about. Specify an ip or hostname
## with port. ie localhost:2181, 10.0.0.1:2181, etc.
## If no servers are specified, then localhost is used as the host.
## If no port is specified, 2181 is used
servers = ["zookeeper-1:2181", "zookeeper-2:2181", "zookeeper-3:2181"]
System info:
Telegraf image: telegraf:1.2.1-alpine
Steps to reproduce:
Start three nodes of zookeeper
Start telegraf service
Turn off first zookeeper node(zookeeper-1:2181).
Expected behavior:
Telegraf will continue to write metrics of two nodes
Actual behavior:
Telegraf doesn't write any metrics
Additional info:
2017-12-06T09:27:53Z E! ERROR in input [inputs.zookeeper]: dial tcp 172.30.116.142:2181: getsockopt: no route to host
Where 172.30.116.142:2181 is IP of first zookeeper nodee(zookeeper-1:2181)
The text was updated successfully, but these errors were encountered:
vbeskrovnov
changed the title
ZooKeeper input plugin doesnt't write any metrics if one of zookeeper nodes failed
ZooKeeper input plugin doesnt't write any metrics if first zookeeper node failed
Dec 6, 2017
Bug report
Relevant telegraf.conf:
System info:
Telegraf image:
telegraf:1.2.1-alpine
Steps to reproduce:
zookeeper-1:2181
).Expected behavior:
Telegraf will continue to write metrics of two nodes
Actual behavior:
Telegraf doesn't write any metrics
Additional info:
2017-12-06T09:27:53Z E! ERROR in input [inputs.zookeeper]: dial tcp 172.30.116.142:2181: getsockopt: no route to host
Where
172.30.116.142:2181
is IP of first zookeeper nodee(zookeeper-1:2181
)The text was updated successfully, but these errors were encountered: