Why do we get the following error on import into mib-tools in Spectrum?
"The selected file does not appear to be a valid MIB: a DEFINITIONS statement was not found."
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