MIB parsing errors

Started by blairmc96, June 16, 2022, 04:02:42 AM

Previous topic - Next topic

blairmc96

Having issues loading an MIB for EnGenius WiFi AP.

I've had these in the past with other devices, and I remove a few offending lines, and it seems to work.  However, when I do that, it just keeps failing.

What am I missing?

Thanks!

C:\NetXMS\share\mibs\ENGENIUS-PRIVATE-MIB-EAP1300.mib.txt: WARNING 007: Object identifier started with uppercase letter in line 363
C:\NetXMS\share\mibs\ENGENIUS-PRIVATE-MIB-EAP1300.mib.txt: WARNING 007: Object identifier started with uppercase letter in line 527
C:\NetXMS\share\mibs\ENGENIUS-PRIVATE-MIB-EAP1300.mib.txt: ERROR 003: Parser error - syntax error, unexpected RIGHT_BRACE_SYM in line 1279

Filipp Sudanov

It's failing on this part:

wlanOpMode OBJECT-TYPE
SYNTAX INTEGER
{
ap(1),
--sta(2),
apwds(3),
brwds(4),
--stawds(5),
-- cr(6),
-- apr(7),
--rp(8)
--mesh-ap(9),
--mesh-only(10)
}


everyting after brwds(4), is commented out, so brwds(4), is the last item in list and it should not have , after it.

blairmc96

Thanks for the guidance!

I corrected that error, and found about 4 more, plus another line that was commented out that it required.

I passed all this info along to EnGenius so hopefully they can fix their MIB generator.