The hpe-sdf-smi.mib fails to compile in Spectrum OneClick MIB Tools with the following error:
Error compiling file: HTTP error.
Release : Any
Component : Spectrum Applications/MIB Tools
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 .
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.