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

Memcached plugin fails all servers if one fails #1441

Closed
phemmer opened this issue Jul 3, 2016 · 0 comments · Fixed by #1519
Closed

Memcached plugin fails all servers if one fails #1441

phemmer opened this issue Jul 3, 2016 · 0 comments · Fixed by #1519

Comments

@phemmer
Copy link
Contributor

phemmer commented Jul 3, 2016

Bug report

Relevant telegraf.conf:

[[inputs.memcached]]
    servers = [ "localhost:11210", "localhost:11211" ]

System info:

telegraf 1.0.0 beta 2 commit c046232

Steps to reproduce:

telegraf -config teletest.conf -test

Expected behavior:

* Plugin: memcached, Collection 1
2016/07/03 14:27:24 dial tcp 127.0.0.1:11210: getsockopt: connection refused
> memcached,host=whistler,server=localhost:11211 bytes=0i,bytes_read=7i,bytes_written=0i,cas_hits=0i,cas_misses=0i,cmd_get=0i,cmd_set=0i,conn_yields=0i,connection_structures=11i,curr_connections=10i,curr_items=0i,decr_hits=0i,decr_misses=0i,delete_hits=0i,delete_misses=0i,evictions=0i,get_hits=0i,get_misses=0i,incr_hits=0i,incr_misses=0i,limit_maxbytes=67108864i,threads=4i,total_connections=11i,total_items=0i,uptime=21i 1467570428000000000

^ plugin should print error to STDERR, and then continue with the next server.

Actual behavior:

* Plugin: memcached, Collection 1
2016/07/03 14:27:24 dial tcp 127.0.0.1:11210: getsockopt: connection refused
sparrc added a commit that referenced this issue Jul 19, 2016
closes #1439
closes #1440
closes #1441
closes #1442
closes #1443
closes #1444
closes #1445
sparrc added a commit that referenced this issue Jul 19, 2016
closes #1439
closes #1440
closes #1441
closes #1442
closes #1443
closes #1444
closes #1445
sparrc added a commit that referenced this issue Jul 19, 2016
closes #1439
closes #1440
closes #1441
closes #1442
closes #1443
closes #1444
closes #1445
sparrc added a commit that referenced this issue Jul 19, 2016
closes #1439
closes #1440
closes #1441
closes #1442
closes #1443
closes #1444
closes #1445
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant