-
Notifications
You must be signed in to change notification settings - Fork 637
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
SNMP_Exporter has trouble with passphrases that contain special chars? #493
Comments
Hmm, if it's not due to YAML then it's likely an issue with the upstream library - though it might also be the device. Can you check with tcpdump? |
I tested the example special character v3 config against my Netgear GS310TP. No issues. |
Hey Brian
|
The evidence indicates that this is an issue with your device rather than with the exporter or our upstream. |
Closing per above, this appears to be a local configuration issue. |
Host operating system: output of
uname -a
Linux 3.10.0-1062.9.1.el7.x86_64 #1 SMP Mon Dec 2 08:31:54 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
snmp_exporter version: output of
snmp_exporter -version
snmp_exporter-0.16.1.linux-amd64
What device/snmpwalk OID are you using?
Linux 3.10.0-1062.9.1.el7.x86_64 #1 SMP Mon Dec 2 08:31:54 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
If this is a new device, please link to the MIB(s).
No MIBs involved, snmpv3 authentication problem
What did you do that produced an error?
Used following config lines containing a password with special chars
What did you expect to see?
Authentication on network device succeeds. Data is being polled.
What did you see instead?
No data being polled.
Raised Loglevel for net-snmp on network device.
Logs showed some sort of
usmUnknownEngineID
error.What did I try to verify claim:
Created multiple snmpv3 users with different passwords.
All user passwords which did NOT contain any special characters (only alphanumeric characters) worked fine.
All user passwords which contained special characters would fail to authenticate.
We excluded the possibility of the error originating from the syntax from the YAML file because we did every test with and without quotation marks.
The following example works perfectly fine:
The text was updated successfully, but these errors were encountered: