I am trying to import a MIB from an equipment manufacturer but the importer tool reports an error (::= expected).
The syntax looks right to me but it clearly isn't..
The "::=" error occurs at the "EddystoneBroadcast" OBJECT-IDENTITY line below:-
IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, Unsigned32, Gauge32, TimeTicks FROM SNMPv2-SMI DisplayString, TruthValue, DateAndTime FROM SNMPv2-TC idl FROM IDL-SMI; EddystoneBroadcast OBJECT-IDENTITY STATUS current DESCRIPTION "Eddystone Broadcast Ltd." ::= { idl 3 }
How can I get the importer to load the file?
Article Comments
This is the MIB. I think the second file is needed too.
http://www.eddystone-broadcast.com/wp-content/uploads/2015/10/EDDYSTONE-E2023-MIB.txt
http://www.eddystone-broadcast.com/wp-content/uploads/2015/10/IDL-SMI.txt
Sep, 2018 - Permalink
Further to this, I have tried the same MIB file with the iReasoning MIB browser and that loads the file successfully. With that tool, I can do an SNMP walk through the Eddystone OIDs...
Sep, 2018 - Permalink
Hey edrixon.
as you can see in the MIB validator the MIB file EDDYSTONE-E2023-MIB.mib contains several syntax errors which makes it impossible for the MIB-Importer to successfully complete the import. So, please contact the vendor and ask for a fixed version of this MIB file without syntax errors.
Also, there a re some minor errors in the IDL-SMI.mib file. So, please ask for a fixed version of this MIB file as well. Once you have the new files which have RFC-conform syntax, the import should succeed.
Best regards,
Sven
Oct, 2018 - Permalink
Hey edrixon,
Please share the download link for the MIB file in question with us so we can have a closer look to the issue.
Thank you and best regards,
Sven
Sep, 2018 - Permalink