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

Ensure metrics generated are correct in ping plugin using "native" #6563

Merged
merged 5 commits into from
Oct 22, 2019

Conversation

glinton
Copy link
Contributor

@glinton glinton commented Oct 22, 2019

There was a bug when using raw socket mode with method = "native" on the ping input plugin where responses would be processed for the wrong host. This has been rectified upstream and the library updated in telegraf.
Better matching in result_code has also been implemented in telegraf between exec and native methods.

Resolves #6521

@glinton glinton added this to the 1.12.4 milestone Oct 22, 2019
@glinton glinton added the fix pr to fix corresponding bug label Oct 22, 2019
plugins/inputs/ping/ping.go Outdated Show resolved Hide resolved
@danielnelson danielnelson merged commit c1521b5 into master Oct 22, 2019
@danielnelson danielnelson deleted the bugfix/6521 branch October 22, 2019 23:47
danielnelson pushed a commit that referenced this pull request Oct 22, 2019
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Result code is not set correctly with ping and method = "native"
2 participants