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 stats are not collected if first node fails #2161

Closed
sybrandy opened this issue Dec 14, 2016 · 1 comment
Closed

Zookeeper stats are not collected if first node fails #2161

sybrandy opened this issue Dec 14, 2016 · 1 comment
Labels
bug unexpected problem or unintended behavior

Comments

@sybrandy
Copy link

Bug report

If the first Zookeeper node in the service is down, no Zookeeper stats are collected.

Relevant telegraf.conf:

[[inputs.zookeeper]]
servers = ["server1", "server2", "server3"]

System info:

  • Telegraph 1.1.1-alpine container
  • 3 node zookeeper cluster

Steps to reproduce:

  1. Start zookeeper cluster
  2. Start telegraph and have output sent to
  3. Stop the first zookeeper node in the config.

Expected behavior:

Metrics are still collected even though one of the nodes is down.

Actual behavior:

No metrics are collected.

Additional info:

Relevant log line:
E! ERROR in input [inputs.zookeeper]: dial tcp <ip_address>:2181 getsockopt: connection refused

@sparrc sparrc added this to the Future Milestone milestone Dec 14, 2016
@danielnelson danielnelson removed this from the Future Milestone milestone Jun 14, 2017
@russorat russorat added the bug unexpected problem or unintended behavior label Feb 20, 2018
@russorat russorat added this to the 1.7.0 milestone Feb 20, 2018
@danielnelson
Copy link
Contributor

This bug was fixed in #2372, included in Telegraf 1.3.0

@danielnelson danielnelson removed this from the 1.7.0 milestone Mar 24, 2018
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

4 participants