-
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
invalid UTF-8 label value #259
Comments
This is probably your device's MIB claiming that a string is DisplayString or SnmpAdminString but it not actually being ASCII/UTF-8. I'd suggest confirming this, and filing a bug with your vendor. |
Is there any way to find out which string? |
I'd suggest bisecting the metrics in the snmp.yml to narrow it down. |
The strange thing is that the output directly via curl from snmp_exporter works fine. |
Curl wouldn't be doing UTF-8 validation. I doubt grep or awk have the features required, I usually spot these sort of things by hand. |
You can close the issue. |
uname: 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64 GNU/Linux
Target: Mikrotik Cloudcore router
MIB: http://download2.mikrotik.com/Mikrotik.mib
snmp_exporter version: 0.8.0 AMD64
Error message:
Generator config:
snmp.yml file:
https://pastebin.com/sauds104
The text was updated successfully, but these errors were encountered: