inexio / pysmi

SNMP MIB parser
http://snmplabs.thola.io/pysmi/
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

mibdump.py don't work #1

Open rocojorge opened 2 years ago

rocojorge commented 2 years ago

Hi everyone, I'm trying to use pysnmp to make scripts that work with the netbotz in my working area, and rewriting older code to update it, my issue here is that PySMI don't work with my Mibs in ASN.1 or even translate them to pysnmp only puts a with a reference to the snmplabs.com page which appears to not exists anymore. And of course, don't resolve the mib name, so it is useless.

I'm really confused with all, if someone could help me or something I'll be very graceful of it.

Also comment that the work done here looks impresive and the pysnmp library is amazing, because you can do a lot of things, but it isn't useful if I can't translate the mibs from Words to Numbers or viceversa

seandilda commented 1 year ago

According to https://github.com/etingof/snmplabs.com/issues/5#issuecomment-1311960277, we should be able to use https://mibs.pysnmp.com instead.

After some testing, the option --mib-source=https://mibs.pysnmp.com:443/asn1/@mib@ appears to do the trick to download from pysnmp.com