Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SNMPv3 password configuration (#1122)
* Add SNMPInflight metric (#1119) * Add SNMPInflight metric --------- Signed-off-by: Kakuya Ando <fservak@gmail.com> Signed-off-by: Robert Bergman <rob.bergman@gmail.com> * change #1074 broke SNMPv3 by removing the lines that need to go in config.go after 155 and 171 respectively: usm.AuthenticationPassphrase = string(c.Password) and usm.PrivacyPassphrase = string(c.PrivPassword) after adding the back in to the code, I tried running with having variables set via environment and in the snmp.yml and both worked. without them I was getting the error: securityParameter.PrivacyPassphrase is required when a privacy protocol is specified Signed-off-by: Robert Bergman <rob.bergman@gmail.com> --------- Signed-off-by: Kakuya Ando <fservak@gmail.com> Signed-off-by: Robert Bergman <rob.bergman@gmail.com> Co-authored-by: Kakuya Ando <fservak@gmail.com>
- Loading branch information