haxtibal / netsnmptable

A Python C Extension package to query SNMP tables and table subsets, complementing the original Net-SNMP Python Bindings.
Other
7 stars 0 forks source link

netsnmp.Session error attributes report false positives when reaching "End of MIB" #5

Closed haxtibal closed 7 years ago

haxtibal commented 7 years ago

When querying a table at end of mib is reached, the last __send_sync_pdu will return a SNMP_ERR_NOSUCHNAME error, and netsnmptable sets netsnmp.Session.Error* accordingly. However this situation must not (always) be considered as error, it just means there are no further rows in the table.

There are multiple issues / things to figure out: