nv-l
[Top] [All Lists]

Re: [nv-l] mib2traps error

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] mib2traps error
From: James Shanks <jshanks@us.ibm.com>
Date: Fri, 10 Mar 2006 09:10:48 -0500
Delivery-date: Fri, 10 Mar 2006 14:11:18 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <20060310135453.60071.qmail@web30604.mail.mud.yahoo.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Sigh.  Seen this one before.  I'll send you a corrected copy of the MIB and
the mib2trap output I got.
There are so many issues with it that we considered shipping corrected
versions of it with NetView, but that has not happened yet.

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


                                                                           
             Larry Fagan                                                   
             <larrytechie@yaho                                             
             o.com>                                                     To 
             Sent by:                  nv-l@lists.us.ibm.com               
             owner-nv-l@lists.                                          cc 
             us.ibm.com                                                    
                                                                   Subject 
                                       [nv-l] mib2traps error              
             03/10/2006 08:54                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             nv-l@lists.us.ibm                                             
                   .com                                                    
                                                                           
                                                                           




 Guys,
When i run mib2trap of the below MIBs. I get following error. Please help..
I'm on NV 7.1.3 AIX.

>mib2trap netbotzv2.mib netbotz.sh
         Errors - no script generated.
No label for parent. Accepted syntax for MODULE-IDENTITY nodes:
 { label1 [ label2(subid2) ... ] object-subid1 }
(netBotz-V2): On or around line 28
Bad parse of MODULE-IDENTITY: On or around line 28

Part of the MIB (big file, can't attach) File:
--
-- NETBOTZV2-MIB       module definition
--
NETBOTZV2-MIB DEFINITIONS ::= BEGIN
IMPORTS
   MODULE-IDENTITY, OBJECT-TYPE,
      NOTIFICATION-TYPE, enterprises, Counter32,
      Integer32          FROM SNMPv2-SMI
   TEXTUAL-CONVENTION, DisplayString,
        DateAndTime                FROM SNMPv2-TC;

netBotz-V2 MODULE-IDENTITY
    LAST-UPDATED "200509260000Z"
    ORGANIZATION "NetBotz Inc"
    CONTACT-INFO
            "Postal: NetBotz, Inc
                     11044 Research Blvd Suite C-100
                     Austin, TX 78759
                     US

                Tel: +1 512 439 58! 00

             E-mail: support@netbotz.com"
    DESCRIPTION
            "NetBotz BotzWare V2.x MIB"
    REVISION     "200509260000Z" -- 26 September 2005
    DESCRIPTION  "Added index columns"
    ::= { enterprises 5528 100 1 }

netBotz            OBJECT IDENTIFIER ::= { enterprises 5528 }
netBotzV2        OBJECT IDENTIFIER ::= { netBotz 100 }
netBotzV2Traps        OBJECT IDENTIFIER ::= { netBotzV2 10 }
netBotzV2TrapParms    OBJECT IDENTIFIER ::= { netBotzV2 11 }
netBotzV2Products    OBJECT IDENTIFIER ::= { netBotzV2 20 }

netBotzV2GenericTraps    OBJECT IDENTIFI! ER ::= { netBotzV2Traps 1 }
netBotzV2SensorTraps    OBJECT IDENTIFIER ::= { netBotzV2Traps 2 }
netBotzV2PodTraps    OBJECT IDENTIFIER ::= { netBotzV2Traps 3 }
netBotzV2PortTraps    OBJECT IDENTIFIER ::= { netBotzV2Traps 4 }

netBotzV2TempSensorTraps    OBJECT IDENTIFIER ::= { netBotzV2SensorTraps 1
}
netBotzV2HumiditySensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 2 }
netBotzV2DewPointSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 3 }
netBotzV2AirFlowSensorTraps    OBJECT IDENTIFIER ::= { netBotzV2SensorTraps
4 }
netBotzV2AudioSensorTraps    OBJECT IDENTIFIER ::= { netBotzV2SensorTraps 5
}
netBotzV2AmpDetectSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 6 }
netBotzV2DryContactSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 7 }
netBotzV2CameraMotionSensorTraps OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 8 }
netBotzV2DoorSensorTraps    OBJECT IDENTIFIER ::= { netBotzV2SensorTraps 9
}
netBotzV2MicPlugSensorTraps    OBJECT IDENTIFIER ::= { netBotzV2SensorTraps
10 }
netBotzV2SpeakerPlugSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 11 }
netBotzV2TVSignalSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 12 }
netBotzV2GPSPositionSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 13 }
netBotzV2GPSMovementSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 14 }
netBotzV2GPSStatusSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 15 }
netBotzV2WirelessStatusSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 22 }
netBotzV2PacketDropSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 23 }
netBotzV2SNMPCrawlerSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 24 }
netBotzV2PlugModuleStatusSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 25 }
netBotzV2OutputControlSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 26 }
netBotzV2MultiRAESensorTraps        OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 27 }
netBotzV2MultiRAESensorStatusTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 28 }
netBotzV2MultiRAEDeviceStatusTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 29 }
netBotzV2LinkStatusSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 30 }
netBotzV2LoopVoltageSensorTraps    OBJECT IDENTIFIER ::= {
netBotzV2SensorTraps 31 }


Larry


Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.




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

Archive operated by Skills 1st Ltd

See also: The NetView Web