Problem compiling mib file UBNT-EdgeMAX-MIB.txt

Started by Kevo, September 28, 2021, 02:18:41 AM

Previous topic - Next topic

Kevo

I am trying to add in the MIB for EdgeMAX and when compiling I get an error.

/usr/share/netxms/mibs/UBNT-EdgeMAX-MIB.txt: ERROR 003: Parser error - syntax error in line 323

The line in question is

DISPLAY-HINT    "d-2"

If I comment out that line it compiles fine. I was unable to find an explanation when I searched for one and from what I've seen when reading up on this particular statement it looks like it should be OK. Anyone have any ideas why it would cause an error?

Filipp Sudanov


Victor Kirhenshtein

Hello!
I just checked MIB compiler source, and it actually should handle DISPLAY-HINT clause. Could you please provide full MIB file trhat cause error? Also, what NetXMS version you are using?

Best regards,
Victor

Kevo

3.9.280 is what I'm using atm, but I may have updated once since I had the MIB issue. I am not sure.

The MIB is here.

https://www.ui.com/downloads/firmwares/ufiber/EdgeMAX-MIB.zip