fastsnmp
fastsnmp copied to clipboard
KeyError on last_seen_index with multiples OIDs
Hi, I'm trying to make some SNMP query to multiple hosts and multiples OIDs, but this error appears :
File "/home/user/.local/lib/python3.10/site-packages/fastsnmp/snmp_poller.py", line 253, in poller oids_to_poll.append("%s.%s" % (recv_job.main_oids[pos], last_seen_index[pos])) KeyError: 11
Please, collect debug information with
fastsnmp.snmp_poller.DEBUG = True
logging.basicConfig(level= logging.DEBUG, format="%(asctime)s %(name)s - %(filename)s:%(lineno)d - %(funcName)s() - %(levelname)s - %(message)s")
....