libsmi not parsing MIB

Hello,
I'm using PYSNMP which uses smidump to convert MIBs into python modules. I have a MIB from a manufacturer, which works with net-snmp, but smidump throws a parsing error. Any ideas?
Here is the error: /usr/local/share/mibs/site/enviromux-mini.mib:7: parse error, unexpected DISPLAY_HINT
And here is the part of the mib that is throwing the error:
NETWORK-TECHNOLOGIES-GLOBAL-REG DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY, enterprises FROM SNMPv2-SMI DisplayString, TEXTUAL-CONVENTION, DISPLAY-HINT FROM SNMPv2-TC;

Jae Muzzin wrote:
Hello,
I'm using PYSNMP which uses smidump to convert MIBs into python modules. I have a MIB from a manufacturer, which works with net-snmp, but smidump throws a parsing error. Any ideas?
Here is the error: /usr/local/share/mibs/site/enviromux-mini.mib:7: parse error, unexpected DISPLAY_HINT
And here is the part of the mib that is throwing the error:
NETWORK-TECHNOLOGIES-GLOBAL-REG DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY, enterprises FROM SNMPv2-SMI DisplayString, TEXTUAL-CONVENTION, DISPLAY-HINT FROM SNMPv2-TC;
DISPLAY-HINT is not importable, so you should remove it. That will let you move on to the next syntax error. There are quite a few more.
participants (2)
-
Andrew Hood
-
Jae Muzzin