Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZooKeeper input plugin doesnt't write any metrics if first zookeeper node failed #3547

Closed
vbeskrovnov opened this issue Dec 6, 2017 · 1 comment
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@vbeskrovnov
Copy link

vbeskrovnov commented Dec 6, 2017

Bug report

Relevant telegraf.conf:

[[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:

  1. Start three nodes of zookeeper
  2. Start telegraf service
  3. 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)

@vbeskrovnov 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
@danielnelson danielnelson added this to the 1.6.0 milestone Dec 6, 2017
@danielnelson danielnelson added the bug unexpected problem or unintended behavior label Dec 6, 2017
@vbeskrovnov
Copy link
Author

This issue was fixed in PR #2372 and issue #1446. So this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants