Error when importing a mib into Spectrum
"The selected file does not appear to be a valid MIB: a DEFINITIONS statement was not found."
All supported platforms.
Error in the "BEGIN" statement of the mib.
To make the SNMP management information base (MIB) extensible, related items are arranged into MIB modules that form a structured hierarchy.
Each MIB module is defined inside the following construct:
ModuleName DEFINITIONS ::= BEGIN END
If a mib produces a "DEFINITIONS statement was not found" error, check if the above required structure was followed.
In an actual example below, we see a space missing before the "BEGIN" statement
ACTIVID-APPLIANCE-MIB DEFINITIONS ::=BEGIN
Changing it to add a space makes it compliant and allows Spectrum to import it.
ACTIVID-APPLIANCE-MIB DEFINITIONS ::= BEGIN
For more information on the Structure of Management Information Version 2 (SMIv2), see https://tools.ietf.org/html/rfc2578
We validate mibs in Spectrum up to Mib Severity Level 3. There is a free, online mib validation checker that you can use here.