NetXMS Support Forum

English Support => General Support => Topic started by: Kevo on September 28, 2021, 02:18:41 AM

Title: Problem compiling mib file UBNT-EdgeMAX-MIB.txt
Post by: Kevo on September 28, 2021, 02:18:41 AM
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?
Title: Re: Problem compiling mib file UBNT-EdgeMAX-MIB.txt
Post by: Filipp Sudanov on October 15, 2021, 05:13:08 PM
MIB compiler is not aware of DISPLAY-HINT. Created an issue for this:  https://track.radensolutions.com/issue/NX-2148
Title: Re: Problem compiling mib file UBNT-EdgeMAX-MIB.txt
Post by: Victor Kirhenshtein on October 15, 2021, 10:18:32 PM
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
Title: Re: Problem compiling mib file UBNT-EdgeMAX-MIB.txt
Post by: Kevo on October 15, 2021, 10:24:44 PM
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