MIB Import error

Started by Luiz A. Camilo, June 17, 2010, 01:10:11 AM

Previous topic - Next topic

Luiz A. Camilo

Hi,

I´m having problems to import a MIB file from a Storage Fujitsu DX80.
I´m using Windows, and running the following Command : c:\NetXMS\bin\nxmibc.exe -d c:\netxms\var\mibs

The mib file is attached.
The error is the following :
FJDARY-E60
FJDARY-E60: WARNING 006: Cannot resolve data type "PhysAddress" for object "fjdaryLanportHwAddress0"
FJDARY-E60: WARNING 006: Cannot resolve data type "PhysAddress" for object "fjdaryLanportHwAddress1"

The export log is attached also.
The FJDARY-E60.MIB was renamed to FJDARY-E60.MIB.txt and placed on the MIBS folder.
I´ve tryed deleting parts of the MIB header´s file, but the error is always on the same line ...
I´m running out of ideas ... does someone have any in mind to share ?

Victor Kirhenshtein

Hi!

Attached is corrected MIB file. There was missing import for PhysAddress. I have added

    PhysAddress
        FROM SNMPv2-TC;

to the end of IMPORTS statement.

Also, not related to this issue, but please be aware that nxmibc places resulting netxms.mib into current directory, so if you running it form place other then c:\netxms\var\mibs, you should either specify correct output file with -o switch or copy netxms.mib to correct location after compilation.

Best regards,
Victor

Luiz A. Camilo

#2
You Rock Victor,

Always answering posts quickly ... Thank you very much !!!

Tested, and imported successfully !! under "Mib Browser" now I can see the "Fujitsu" node.
Also thanks about the output command. The netxms.mib was being saved on the nxmibc.exe directory .... now it´s correct.

Luiz Alberto Camilo.
Network Administrator