Lex Li

Results 597 comments of Lex Li
trafficstars

You might want to read https://github.com/etingof/pysnmp/issues/429 to learn more.

According to #88 and #89, you should * name the data file as `self.snmprec`, * or alternatively, make SNMP v3 requests with context name of `public`.

It seems that you raised two issues, this one as well as [this](https://github.com/etingof/pysnmp/issues/6#issuecomment-503061528). It requires a lot more details (which SNMP agent you use, how the MIB document looks like,...

If you switch to PySNMP 5 (package `pysnmp-lextudio`), the script can be further simplified, http://www.pysnmp.com/pysnmp/quick-start#fetch-snmp-variable Read #429 to learn more.

As long as you locate the `MibBuilder` instance, you can easily access the description of the object types. Sample code can be found [here](https://github.com/lextudio/pysnmp/blob/main/examples/smi/manager/print-oid-description.py).

1. You might consider closing old issues for the same purpose. 2. This repo is not going to die any sooner, as the original PyPI packages are still active and...

You might read #429 to learn where to post such issues.

I can reproduce this issue and a workaround is to add a call to force load the Cisco module, ``` python mib_builder.loadModule('CISCO-PRODUCTS-MIB') ``` But about why PySNMP does not load...

Since Unsigned32 is an obsolete type, further discussion on this issue does not make much sense.

If in the compiled Python module you have ``` python class FrequencyHz(TextualConvention, Unsigned32): status = 'current' displayHint = 'd-6' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(0, 4294967295) ``` Then in the original...