nv-l
[Top] [All Lists]

Re: [nv-l] Fw: mib2trap error on Unsigned32

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Fw: mib2trap error on Unsigned32
From: Sue Young <syoung@westpac.com.au>
Date: Wed, 8 Feb 2006 15:35:09 +1100
Delivery-date: Wed, 08 Feb 2006 04:36:03 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <4.3.2.7.2.20060208134836.016ab3c0@pop.ozemail.com.au>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com

Hi Joe,

I must have read your mind, see reply to James. I basically did very similar to what you suggest and problem is solved.

Thanks for you help.

Regards,
Sue




Joe Fernandez <jfernand@kardinia.com>
Sent by: owner-nv-l@lists.us.ibm.com

02/08/2006 02:49 PM
Please respond to
nv-l@lists.us.ibm.com

To
nv-l@lists.us.ibm.com
cc
Subject
Re: [nv-l] Fw: mib2trap error on Unsigned32





Sue,

You are trying to run mib2trap on this MIB by concatenating all the IMPORTS into a single file, right?

I would do the following:

The Cisco v2 MIBs include a file SNMPv2-SMI.my

This has the OID definitions from RFC2578, which the MIB loader will need

Just before the END statement in this MIB file, add a line saying

Unsigned32 ::= Gauge32

(This was one of James Shanks's options)

Concatenate in order

1. SNMPv2-SMI.my with the addition above
2. CISCO-SMI.my
3. CISCO-ENTITY-FRU-CONTROL-MIB.my

into a single file.

Then run mib2trap and it should work.

The problem you are running into may be caused by your mixing a Cisco v1SMI file with v2SMI files.

At 05:04 PM 07-02-06 +1100, you wrote:

Hi James,

I included
cisco-tc-v1smi.mib which solved the Unsigned32 problem (SNMPv2-SMI was already included but it doesn't appear to be the RFC 2578 version). I'm now getting Textual convention doesn't map to real type.(SEQUENCE): The mib I'm trying to load is CISCO-ENTITY-FRU-CONTROL.my. I've concatenated all the mibs on the import list. Do you have any ideas.

Many thanks in advance.

Sue





James Shanks <jshanks@us.ibm.com>

Sent by: owner-nv-l@lists.us.ibm.com


02/03/2006 12:07 AM

Please respond to
nv-l@lists.us.ibm.com


To

nv-l@lists.us.ibm.com

cc
Subject

Re: [nv-l] Fw: mib2trap error on Unsigned32




Well, there is a definition for Unsigned32 in the standard SNMPv2-SMI mib,
RFC 2578, and if you concatenate the mib you are working with to that, the
resulting file should work fine.   Or you could use the cisco-tc-v1smi.mib
we ship in /usr/OV/snmp_mibs in the same way.  Or you could just edit the
problem MIB and add this
    Unsigned32 ::= Gauge32
near the beginning.

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


                                                                         
           Sue Young                                                    
           <syoung@westpac.c                                            
           om.au>                                                     To
           Sent by:                  nv-l@lists.us.ibm.com              
           owner-nv-l@lists.                                          cc
           us.ibm.com                                                    
                                                                 Subject
                                     [nv-l] Fw: mib2trap error on        
           02/01/2006 10:58          Unsigned32                          
           PM                                                            
                                                                         
                                                                         
           Please respond to                                            
           nv-l@lists.us.ibm                                            
                 .com                                                    
                                                                         
                                                                         




                                                                         
                                                                         
                                                                         




Hi ,

I'm running Netview 7.1.3 Fixpack 3 on Unix and have trouble running
mib2trap on some mibs. The error message is

Textual convention doesn't map to real type.(Unsigned32):

According to the imports list it is included in SNMPv2-SMI mib but it
doesn't appear to be there. Perhaps my version of compiler doesn't support
this. Does anyone know how I can resolve this problem without upgrading
compilers.

Thanks in advance,
Sue
                                                                         
Please consider our environment before printing this email.                
                                                                         
WARNING - This email and any attachments may be confidential. If received  
in error, please delete and inform us by return email. Because emails and  
attachments may be interfered with, may contain computer viruses or other  
defects and may not be successfully replicated on other systems, you must  
be cautious. Westpac cannot guarantee that what you receive is what we    
sent. If you have any doubts about the authenticity of an email by        
Westpac, please contact us immediately.                                    
                                                                         
It is also important to check for viruses and defects before opening or    
using attachments. Westpac's liability is limited to resupplying any      
affected attachments.                                                      
                                                                         
                                                                         

                                                                         
This email and its attachments are not intended to constitute any form of  
financial advice or recommendation of, or an offer to buy or offer to      
sell, any security or other financial product. We recommend that you seek  
your own independent legal or financial advice before proceeding with any  
investment decision.                                                      
                                                                         
Westpac Institutional Bank is a division of Westpac Banking Corporation, a
company registered in New South Wales in Australia under the Corporations  
Act 2001 (Cth). Westpac is authorised and regulated in the United Kingdom  
by the Financial Services Authority and is registered at Cardiff in the    
United Kingdom as Branch No. BR 106. Westpac operates in the United States
of America as a federally chartered branch, regulated by the Office of the
Comptroller of the Currency.                                              
                                                                         
Westpac Banking Corporation ABN 33 007 457 141.                            
                                                                         





Please consider our environment before printing this email.

WARNING - This email and any attachments may be confidential. If received in error, please delete and inform us by return email. Because emails and attachments may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems, you must be cautious. Westpac cannot guarantee that what you receive is what we sent. If you have any doubts about the authenticity of an email by Westpac, please contact us immediately.

It is also important to check for viruses and defects before opening or using attachments. Westpac's liability is limited to resupplying any affected attachments.

This email and its attachments are not intended to constitute any form of financial advice or recommendation of, or an offer to buy or offer to sell, any security or other financial product. We recommend that you seek your own independent legal or financial advice before proceeding with any investment decision.

Westpac Institutional Bank is a division of Westpac Banking Corporation, a company registered in New South Wales in Australia under the Corporations Act 2001 (Cth). Westpac is authorised and regulated in the United Kingdom by the Financial Services Authority and is registered at Cardiff in the United Kingdom as Branch No. BR 106. Westpac operates in the United States of America as a federally chartered branch, regulated by the Office of the Comptroller of the Currency.

Westpac Banking Corporation ABN 33 007 457 141.


Joe Fernandez
Kardinia Software
jfernand@kardinia.com
www.kardinia.com
Please consider our environment before printing this email.

WARNING - This email and any attachments may be confidential. If received in error, please delete and inform us by return email. Because emails and attachments may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems, you must be cautious. Westpac cannot guarantee that what you receive is what we sent. If you have any doubts about the authenticity of an email by Westpac, please contact us immediately.

It is also important to check for viruses and defects before opening or using attachments. Westpac's liability is limited to resupplying any affected attachments.

This email and its attachments are not intended to constitute any form of financial advice or recommendation of, or an offer to buy or offer to sell, any security or other financial product. We recommend that you seek your own independent legal or financial advice before proceeding with any investment decision.

Westpac Institutional Bank is a division of Westpac Banking Corporation, a company registered in New South Wales in Australia under the Corporations Act 2001 (Cth). Westpac is authorised and regulated in the United Kingdom by the Financial Services Authority and is registered at Cardiff in the United Kingdom as Branch No. BR 106. Westpac operates in the United States of America as a federally chartered branch, regulated by the Office of the Comptroller of the Currency.

Westpac Banking Corporation ABN 33 007 457 141.
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web