The hpe-sdf-smi.mib fils to compile in Spectrum OneClick MIB Tools
search cancel

The hpe-sdf-smi.mib fils to compile in Spectrum OneClick MIB Tools

book

Article ID: 231408

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The hpe-sdf-smi.mib fails to compile in Spectrum OneClick MIB Tools with the following error:

Error compiling file: HTTP error.

Environment

Release : Any

Component : Spectrum Applications/MIB Tools

Cause

Using an external MIB validator located at MIB/PIB Validator we see the following error messages:

file hpe-sdf-smi.mib 1234 error 'RedfishAlertContents' is not a valid OBJECT-TYPE name -- must start with a lowercase letter.

file hpe-sdf-smi.mib 1331 error syntax error, unexpected }, expecting .

Resolution

For the error at line 1234, we see the following in the mib:

RedfishAlertContents OBJECT-TYPE

The following is the fix:

redfishAlertContents OBJECT-TYPE

For the other error, it is not as descriptive as the actual error. The following is in line 1331:

OBJECTS { RedfishAlertContents }

However, if you look at the previous error, the issue was the capital letter "R". So, like the previous error, the fix is as follows:

OBJECTS { redfishAlertContents }

Note that lines 1338 and 1345 have this same error.

After making these changes, the hpe-sdf-smi.mib file compiled successfully in MIB Tools.