nv-l
[Top] [All Lists]

Re: [nv-l] Errors loading OSA-Express MIB

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Errors loading OSA-Express MIB
From: James Shanks <jshanks@us.ibm.com>
Date: Thu, 19 Aug 2004 17:08:49 -0400
Delivery-date: Thu, 19 Aug 2004 22:20:54 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <EF677E22C7716945B5755253C607CCF103BA6BF5@nasbce3.banespa>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com

Sure.
xnmloadmib fails because osa030c.mib is an SNMP v2 MIB and xnmloadmib is for V1-only MIBs.  The give-away is "MODULE IDENTITY" which is an SNMP V2-only construct. It does not exist in V1.   So you have to use xnmloadmib2

xnmloadmib2 fails because  there is an error in those MIBs, or at least he thinks there is.  Each MIB element must have a unique label, and apparently that's not the case here.
Error: Two child nodes of portEntry, portType(2) and portType(5), have the
same lable.


Without examining the MIB in detail I cannot tell you what to do, and I am not allowed to take user problems off the list.  I suggest that you open a problem to IBM Support and send the MIBs to them for assistance.

 But if you want to try something else first, I would edit the MIB and change the labels.  Find the portType(2) label and make  say "portType2"  without the parens, and portType(5)  say "portType5" in the same way.  The labels are not critical but the parens may be confusing the parser.   As far as I know, a label should not contain them, but perhaps that's been relaxed at some point.   If that's doesn't help, then please call Support.


James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group



Marcos Antonio Pezzutti Filho <pezzutti@banespa.com.br>
Sent by: owner-nv-l@lists.us.ibm.com

08/19/2004 07:09 PM
Please respond to
nv-l

To
"NV-L (E-mail)" <nv-l@lists.tivoli.com>
cc
Subject
[nv-l] Errors loading OSA-Express MIB





Dear,

Our Environment:

AIX 5.2
Netview 7.1.4
Framework 4.1.1

We are having difficults on loading OSA-Express MIB.
We have downloaded osa333c.mib and osa030c.mib and have tried to load using
xnmloadmib and xnmloadmib2.
Both methods have failed.

Trying load with xnmloadmib  osa030c.mib and osa333c.mib the error ocurred
was:
Line 64: Error Defining object: found 'MODULE-IDENTITY'
Expected one of following:
OBJECT IDENTIFIER
OBJECT-TYPE
TRAP-TYPE
::=

Trying load with xnmloadmib2 osa030c.mib the error ocurred was:
Bad operator:On or around line 2949
Mib table is bad

Trying load with xnmloadmib2 osa333c.mib the error ocurred was:
Error: Two child nodes of portEntry, portType(2) and portType(5), have the
same lable.
Only one of then can be loaded at a time.
Unload/reload MIBs as required to get the desired node into the tree.
Error: Two child nodes of portEntry, portIndex(1) and portIndex(2), have the
same lable.
Only one of then can be loaded at a time.
Unload/reload MIBs as required to get the desired node into the tree.

Could someone tell us what´s wrong ?

Thanks in advance.


Marcos Antonio Pezzutti Filho
Santander Banespa - Infra-Multiplataforma
* Fone: 5854-6339 * Fax: 5538-5260
pezzutti@banespa.com.br <mailto:pezzutti@banespa.com.br>



<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web