NetXMS Support Forum

English Support => General Support => Topic started by: mcarrara on October 25, 2013, 07:03:39 PM

Title: How do I compile and add a MIB
Post by: mcarrara on October 25, 2013, 07:03:39 PM
As I start my journey into monitoring our network I have been able to work with all of the servers using the agent.  However I am stumped by SNMP.  We use Meru wireless controllers.  I downloaded the MIBs from their website. I get a tarball which when I unzip I have a folder with a bunch of .my files.

On the forum when I searched for compiling MIBs I see a reference to nxmibc.  But I can't find any documentation on how to use it, except for the sparse results when I type nxmibc -h. 

Is there any documentation or tutorials on compiling and using MIBs not in the standard release?

Mark
Title: Re: How do I compile and add a MIB
Post by: mcarrara on October 25, 2013, 08:22:53 PM
Well I just messed around and I tried running nxmibsc against the .my file and I get an error that the IMPORT MODULE SNMPv2-SMI is unresolved.  When I try to compile an extreme.mib file I get a similar error only the import module is different.  How do I resolve the modules?
Title: Re: How do I compile and add a MIB
Post by: Nikk on October 28, 2013, 09:27:20 AM
I had the same message, and i just changed the mib extenstion to .txt and everything went without errors!
Title: Re: How do I compile and add a MIB
Post by: mcarrara on October 29, 2013, 03:31:18 PM
Now I really messed things up.  I did something so that now when I run the management console I get an error that the MIB file can't be loaded because of a file I/O error.

I can see the MIB directory and files so I must have messed up some config file or something.  Any ideas?

Mark
Title: Re: How do I compile and add a MIB
Post by: Lukas on October 31, 2013, 11:22:37 AM
Not sure if it helps in your case, but you may try to check the following short new howto: http://wiki.netxms.org/wiki/Add_new_MIBs

Lukas
Title: Re: How do I compile and add a MIB
Post by: mcarrara on October 31, 2013, 09:52:27 PM
Lukas,
That's exactly what I was looking for.  I think I understand my issue and now to try and fix it.

Mark