NetXMS Support Forum

English Support => General Support => Topic started by: mgalloway on August 07, 2010, 09:25:56 PM

Title: MIB compile error
Post by: mgalloway on August 07, 2010, 09:25:56 PM
I'm trying to add a NetApp MIB to NetXMS with the below command and keep getting an error.

d:\NetXMS\bin\nxmibc.exe -d d:\netxms\var\mibs

d:\netxms\var\mibs\NETWORK-APPLIANCE-MIB.mib.txt: ERROR 003: Parser error - syntax error, unexpected OBJECT_SYM, expecting OBJECT_TYPE_SYM in line 18622

The MIB I'm using is located at http://www.oidview.com/mibs/789/NETWORK-APPLIANCE-MIB.html. It was to large to attached to this post.
Title: Re: MIB compile error
Post by: mgalloway on August 07, 2010, 09:31:19 PM
I was able to compile the MIB but I dont see any entry when I go to MIB Browser.
Title: Re: MIB compile error
Post by: Victor Kirhenshtein on August 08, 2010, 12:02:17 PM
Hi!

Did you put resulting netxms.mib into correct place - should be d:\netxms\var\mibs in your case? By default, nxmibc creates output file in current directory. You should either move resulting file to correct location or use -o option for nxmibc. Also, don't forget to restart management console after MIB compilation - MIB tree synchronization with server occurs only at login.

Best regards,
Victor
Title: Re: MIB compile error
Post by: mgalloway on August 08, 2010, 04:36:07 PM
I placed the netapp mib file  file in netxms\var\mibs and compiled in the current directory. I renamed the netxms.mib to see if when running the recompile if it would generate a new netxms and it does. I have restarted the management console along with the entire server. I have not tried running nxmibc with the -o option.
Title: Re: MIB compile error
Post by: Victor Kirhenshtein on August 09, 2010, 12:53:39 PM
Very strange. Just try to compile this MIB with all others and got a lot of entries under .1.3.6.1.4.1.789. Attached is a screenshot from my MIB browser.
Just in case - try to find local copy of netxms.mib on your workstation and delete it - may be console due to some problem does not update it.

Best regards,
Victor
Title: Re: MIB compile error
Post by: mgalloway on August 09, 2010, 03:45:13 PM
Yes deleting the netxms.mib worked. I can now see the vaules in MIB browser. Thanks for you help.