-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
fix(inputs.snmp): Translate field correctly when not in table #15618
fix(inputs.snmp): Translate field correctly when not in table #15618
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome @Hipska! Thanks!
Actually, the telegraf/internal/snmp/field.go Lines 40 to 41 in 7417f68
|
Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
@Hipska what would be different for the new option? Do we need to hold-back this fix for the deprecation? |
No, the deprecation can be done in another PR. I was just expressing my opinion about this similar looking option (as it also does do a conversion) |
(cherry picked from commit 9297d77)
Summary
Apparently, the
translate
option for afield
in the SNMP input only worked in ainputs.snmp.table.field
and not in ainputs.snmp.field
.Checklist
Related issues
Fixes #15617