How do I compile and add a MIB

Started by mcarrara, October 25, 2013, 07:03:39 PM

Previous topic - Next topic

mcarrara

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

mcarrara

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?

Nikk

I had the same message, and i just changed the mib extenstion to .txt and everything went without errors!

mcarrara

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

Lukas

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

mcarrara

Lukas,
That's exactly what I was looking for.  I think I understand my issue and now to try and fix it.

Mark