Closed seans11 closed 4 years ago
Instead of items()
, you can use iteritems()
. This will avoid the extra GET lookup you get with items()
.
Excellent! That fixed my problem, but I'm a little confused why the ".items()" method causes the "SNMPNoSuchInstance" error?
It walks like snmpwalk, but then for each OID in the result, it does an additional snmpget. items()
is provided by Python and iteritems()
is provided by Snimpy.
I'm trying to iterate on the values returned from ProxyColumn and for some reason I'm receiving "SNMPNoSuchInstance". I know an instance can be retrieved using snmpwalk, so I'm at a loss on how I can further troubleshoot what is causing this issue. Any help would be greatly appreciated. Thank you!
Code:
Error:
Running an snmpwalk appears to work fine:
Interesting that an snmpget did not work: