NetXMS Support Forum

English Support => General Support => Topic started by: cbwecomm on August 05, 2025, 03:17:44 PM

Title: SNMP Compile errors with Ubiquiti MIBs
Post by: cbwecomm on August 05, 2025, 03:17:44 PM
I'm receiving errors when compiling these two related Ubiquiti MIB files.  I did have to correct some issues in the UI-AF-60 MIB downloaded from Ubiquiti to get this far, but I still receive errors (which, seem to be superficial since I see the definitions in the MIB Walk).  Since it seems to work ok, it's not a huge issue other than the fact that the error messages annoy me hahaha, but I thought I'd report it anyhow in case this is part of a larger problem... i.e. my guess is that the NetXMS MIB Compiler is compiling these in the incorrect order or something. 

Or, maybe I'm completely wrong :-)

Title: Re: SNMP Compile errors with Ubiquiti MIBs
Post by: Filipp Sudanov on August 07, 2025, 12:51:21 PM
In the UI-AF60-MIB.txt file it's saying

      FROM SNMPv2-TC
    uiAF60, uiAF60Groups

Is there a version of SNMPv2-TC.mib file in Ubuntu downloads? 
Title: Re: SNMP Compile errors with Ubiquiti MIBs
Post by: cbwecomm on August 16, 2025, 03:53:39 PM
Ubiquiti doesn't provide it, but I can probably find it online somewhere; I guess I assumed that was a "standard" MIB of sorts that would already be included by default so I guess that I overlooked that.  :-(
Title: Re: SNMP Compile errors with Ubiquiti MIBs
Post by: gmonk63 on August 16, 2025, 10:45:58 PM
These Mibs are apart of the RFC so if you need any others I would look at the netdisco rfc folder

https://github.com/netdisco/netdisco-mibs/blob/master/rfc/SNMPv2-TC.txt
Title: Re: SNMP Compile errors with Ubiquiti MIBs
Post by: Alex Kirhenshtein on August 16, 2025, 10:59:41 PM
SNMPv2-TC.mib is bundled.

UBNT-MIB is bundled as well, but we have older version -- and that's probably the reason.

I've renamed both from .txt to .mib and copied them to $NETXMS_HOME/share/netxms/mibs/, then nxmibc works just fine.

I'm pretty much sure upload via UI will work as well, once you'll update UBNT-MIB.mib. Future releases will include latest version, I've pushed this fix.