01-06-2014 05:03 PM
We are getting erros when loading the MIB using HP NNMi application (Agent version 11.13.007 on the receiver, OML version 9.10 v230 on the management server). Please see the attached file and the below error. I can load this MIB in MIB browser. Any help appriciated.
[root@ddcvanmi01 user-snmp-mibs]# nnmloadmib.ovpl -load wfsmib.mib
Operation LoadMib failed.
Failed to load MIB modules from [/var/opt/OV/shared/nnm/user-snmp-mibs/wfsmib.mib]: Failed to parse MIB modules using the supplied resources - invalid MIB file format.
ERROR : Lex error at: file:///var/opt/OV/shared/nnm/user-snmp-mibs/wfsmi
Showing the file:///structure:
01-06-2014 06:56 PM
You need to first resolve the syntax error by editing the mib file and then try uploading mibs to NNMi server.
In your case, try to find and remove "/" which the program is complaining about and try the upload. Before editing mib file , ensure you have taken a copy of it.
To show your appreciation, click KUDOS !!!
01-07-2014 09:38 PM
You can also use MIB-Browser share-ware tool to load the MIB after the editing to look out for errors.
As gopi pointed out, remove the char and try to load the MIB in any MIB browser tool to look for additional errors before loading in NNMi.
01-14-2014 07:47 AM
I think the problem is that the mib contains an extended character, normally a local language character that is encoded in more than one byte. The trick to finding it ( them ) is to use a tool to convert the MIB file contents into a printable ascii format. In this way the extended characters will be seen displayed as their hex codes and not the symbol ( which may be hard to spot in an editor ). On unix there is a tool called "vis" ( short for "visible" ). For MS Windows the cygwin utilities has "hexedit". There will also be others. The requirement is to be able to view the MIB file's contents in ascii-7 characters.
Hope this helps,
The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of HP.
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution, If you are satisfied with anyone’s response please remember to give them a KUDOS and show your appreciation.