MIB will not compile, error reading the SNMPv2-CONF file

book

Article ID: 192074

calendar_today

Updated On:

Products

CA Spectrum CA eHealth

Issue/Introduction


When trying to compile a newer version of a MIB that has already been compiled and loaded into Spectrum, we get this error:


Could not parse the file SNMPv2-CONF. Encountered "{" at line 1, column 1.

Was expecting a ModuleName and that should be in upper case or atleast in proper case





Environment

Release : 10.x

Component : SPCOCK : Spectrum OneClick

Resolution


The SNMPv2-CONF mib under the $SPECROOT/MibDatabase/ folder was corrupted. This contained some foreign updates at the start of the
   file which caused the compile of the RUBRICK-MIB to fail as it was importing objects from it.

Found the SNMPv2-CONF under the $SPECROOT/MibDatabase/contrib/ was ok, copied that up and replaced the
one in $SPECROOT/MibDatabase (parent folder).

After this the mib compiled ok

Attachments