trehn / hnmp

High-level Python SNMP library
ISC License
49 stars 16 forks source link

Empty tables #12

Closed tom-porat-xyz closed 2 years ago

tom-porat-xyz commented 8 years ago

In some instances, table function will never return results.

Adding the following print to line 298

print obj_table[-1][0][0].prettyPrint()

reveals that the oid was partially resolved by pynsmp

SNMPv2-SMI::enterprises."<snip>.2.4.3.4.2.1.1.15.12.49.55.50.46.51.49.46.51.49.46.51.52"
TheFlyingCorpse commented 8 years ago

I can confirm this fixes it :+1:

trehn commented 8 years ago

Thanks, I just pushed a new release to PyPI. And sorry for not getting around to verify this myself in time.

TheFlyingCorpse commented 8 years ago

It got fixed on SLES 11 SP3 with the above fix. Sadly the fix broke HNMP on Debian 8.x.

trehn commented 8 years ago

In what way, can you elaborate?