-
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
Support more snmpv3 authentication protocols #8850
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.
🤝 ✅ CLA has been signed. Thank you!
@reimda would this need to have extra unit tests? |
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.
Looks good to me.
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.
Thanks Thomas, this looks good to me. Have you done manual integration testing with these new auth protocols? I haven't looked closely at gosnmp's v3 compatibility lately but when it added v3 support there were bugs related to protocols. In the snmp_trap plugin we added support for new protocols initially but had to disable them. (I can't remember if they were auth or security protocols)
I don't think unit tests on each protocol are absolutely necessary. It might be nice to add integration tests for them using net-snmp, but I'm fine with that being in a separate future PR.
The tests would mainly be testing the config itself. I also tested manually with an snmpsim instance. I did not test traps, don't know how I could do that. Speaking of traps, maybe should the README for snmp_trap plugin be updated as well? |
Fixes #8747
Required for all PRs: