Error when importing a mib into Spectrum
search cancel

Error when importing a mib into Spectrum

book

Article ID: 72573

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Error when importing a mib into Spectrum

"The selected file does not appear to be a valid MIB: a DEFINITIONS statement was not found."

Environment

All supported platforms.

Cause

Error in the "BEGIN" statement of the mib.

Resolution

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

Additional Information

For more information on ‚Äčthe Structure of Management Information Version 2 (SMIv2), see https://tools.ietf.org/html/rfc2578