snmp_exporter icon indicating copy to clipboard operation
snmp_exporter copied to clipboard

Consider mentioning potential auth problems in logs if no requests succeed

Open brian-brazil opened this issue 8 years ago • 4 comments

We get a fair few user support requests in that turn out to be auth problems. Giving a pointer in that direction in the log message mightn't be the worst idea.

brian-brazil avatar Jul 17 '17 12:07 brian-brazil

fyi, I just found that setting security_level to AuthNoPriv instead of AuthPriv manifests itself as the "OID not increasing" error.

JustinAzoff avatar Aug 02 '17 19:08 JustinAzoff

That sounds like something to do with a particular device.

brian-brazil avatar Aug 02 '17 20:08 brian-brazil

Running into this issue https://github.com/prometheus/snmp_exporter/pull/222 I faced a similar issue with community mismatch, just found it by patching snmp_exporter myself to show the community on Error. Not optimal.

fjaeckel avatar Aug 21 '17 16:08 fjaeckel

Ran into a similar issue with nothing being returned by the exporter but it would scrape successfully. I had to open the device's SNMP server logs to figure out that I had a typo in a 64 char. SNMPv3 auth key... [two years later !!]

jsenecal avatar Aug 14 '19 12:08 jsenecal