-
Notifications
You must be signed in to change notification settings - Fork 634
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
Doesn't work with SNMPv1 devices #8
Comments
Same request here -- trying to use this with Mikrotik RouterBoard devices and requests just hang. |
I'd be happy to take a pull request to add this. |
Cool, I'll look into it tonight/tomorrow. Still getting up to speed on how prometheus works and building it into our existing automation. |
I expect the man challenge here will be working with the snmp library we use, it should be relatively easy plumbing. |
Great! |
I too would like to see this, I have a Ubiquity UniFi AP-Pro and it doesn't respond to v2c SNMP queries, only v1. |
@jcollie I originally thought this was a code/lib problem but as it turned out it was my configuration. The improvement to be made IMO is in the exporter's error handling. I can send you an example of what my config looks like for Mikrotik devices -- it took a good bit of effort to get it setup but it works quite well now. |
@RyanTurner I'd certainly like to see your config, but I'm pretty sure that In my case it's a v1 vs v2c issue:
|
In my case (with a unifi uap lite) it's definetly a v1 vs v2c issue.
|
I've got a patch in progress for v1 and v3 support: https://github.com/SuperQ/snmp_exporter. |
This should probably be closed as the latest version works just fine with both SNMP v1 and v2c (probably SNMP v3 as well but I haven't tested). |
The exporter is great with my devices that support snmp 2c, but just times out contacting devices that only have v1 support.
pysnmp seems to support 1, 2c & 3, could you add a way of specifying the snmp version to use?
The text was updated successfully, but these errors were encountered: