nv-l

Re: [nv-l] Loading Mib issue..

2006-05-03 11:11:37
Subject: Re: [nv-l] Loading Mib issue..
From: James Shanks <jshanks AT us.ibm DOT com>
To: nv-l AT lists.us.ibm DOT com
Date: Wed, 3 May 2006 11:11:06 -0400
Your are trying to load an SNMPv2 MIB with the  SNMPv1-only loader.
MODULE-IDENTITY is SNMPv2 only.  That's the one thing that will always
distinguish a v1 MIB from a v2 MIB.
You have to load this with xnmloadmib2.

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


                                                                           
             reamd@Nationwide.                                             
             com                                                           
             Sent by:                                                   To 
             owner-nv-l@lists.         nv-l AT lists.us.ibm DOT com             
  
             us.ibm.com                                                 cc 
                                                                           
                                                                   Subject 
             05/03/2006 10:52          [nv-l] Loading Mib issue..          
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             nv-l AT lists.us DOT ibm                                           
  
                   .com                                                    
                                                                           
                                                                           





Hi All,
          I am attempting to load SYSAPPL-MIB.my and receive:
xnmloadmib -load SYSAPPL-MIB.my
Error detected while loading MIB File: SYSAPPL-MIB.my.
This MIB cannot be loaded until the following problem is corrected:

Line 16: Error defining object: found 'MODULE-IDENTITY'


Expected one of the following:
  OBJECT IDENTIFIER
  OBJECT-TYPE
  TRAP-TYPE
  ::=

All 'IMPORTS' have been loaded.

   SYSAPPL-MIB DEFINITIONS ::= BEGIN

   IMPORTS
       MODULE-IDENTITY, OBJECT-TYPE, mib-2,
--%vdeters%
-- Unsigned32 is gotten from CISCO-TC for the time being until it
-- becomes available in SNMPv2-SMI
--%vdeters%
--       Unsigned32, TimeTicks, Counter32, Gauge32
       TimeTicks, Counter32, Gauge32
           FROM SNMPv2-SMI
       Unsigned32
           FROM CISCO-TC
       DateAndTime, TEXTUAL-CONVENTION
           FROM SNMPv2-TC
       MODULE-COMPLIANCE, OBJECT-GROUP
           FROM SNMPv2-CONF;




AIX - 5300-03
7.1.4 FixPack4


I attempted to send this before, but think I was having e-mail issues.

Thanks,
Dave




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