Guys,
When i run mib2trap of the MIB below. I get following error. Please
help..
I'm on NV 7.1.3 Solaris.
>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 26
Bad parse of MODULE-IDENTITY: On or around line 26
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,
Integer32 FROM SNMPv2-SMI
TEXTUAL-CONVENTION, DisplayString,
DateAndTime
FROM SNMPv2-TC;
netBotz-V2 MODULE-IDENTITY
LAST-UPDATED "200309090000Z"
ORGANIZATION "NetBotz Inc"
CONTACT-INFO
"Postal: NetBotz, Inc
11044 Research Blvd
Suite C-100
Austin, TX
78759
US
Tel: +1 512 439 5800
E-mail: support@netbotz.com"
DESCRIPTION
"NetBotz BotzWare V2.x MIB"
::= { 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 IDENTIFIER ::= {
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 }
netBotzV2BasePodTraps OBJECT IDENTIFIER ::= {
netBotzV2PodTraps 1 }
netBotzV2SensorPodTraps OBJECT IDENTIFIER ::= {
netBotzV2PodTraps 2 }
netBotzV2CameraPodTraps OBJECT IDENTIFIER ::= {
netBotzV2PodTraps 3 }
netBotzV2CCTVPodTraps OBJECT IDENTIFIER ::= {
netBotzV2PodTraps 4 }
netBotzV24to20mAPodTraps
OBJECT IDENTIFIER ::= { netBotzV2PodTraps 5 }
netBotzV2Botz
OBJECT IDENTIFIER ::= { netBotzV2Products 10 }
netBotzWallBotz500
OBJECT IDENTIFIER ::= { netBotzV2Botz 2000 }
netBotz420Wall
OBJECT IDENTIFIER ::= { netBotzV2Botz 2001 }
raeSystemsAreaConnect500 OBJECT IDENTIFIER ::= {
netBotzV2Botz 2002 }
netBotz420Rack
OBJECT IDENTIFIER ::= { netBotzV2Botz 2003 }
netBotz320Wall
OBJECT IDENTIFIER ::= { netBotzV2Botz 2004 }
netBotz320Rack
OBJECT IDENTIFIER ::= { netBotzV2Botz 2005 }
netBotz420ERack
OBJECT IDENTIFIER ::= { netBotzV2Botz 2006 }
netBotz320ERack
OBJECT IDENTIFIER ::= { netBotzV2Botz 2007 }
netBotz220Camera
OBJECT IDENTIFIER ::= { netBotzV2Botz 2008 }
apprion500
OBJECT IDENTIFIER ::= { netBotzV2Botz 2009 }
avocent500
OBJECT IDENTIFIER ::= { netBotzV2Botz 2010 }
--
MODULE-COMPLIANCE, OBJECT-GROUP,
--
NOTIFICATION-GROUP
FROM SNMPv2-CONF;
OperStatus ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The
operational status of the device entity."
SYNTAX INTEGER { disconnected(0),
error(1), normal(2) }
ErrorStatus ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The error
status of the device entity. If there are no error conditions
reported
for the entity, the status is normal. Otherwise, the status is
reported as
the severity value of the highest severity error condition
that is not
resolved for the entity."
SYNTAX INTEGER { normal(0), info(1),
warning(2), error(3), critical(4), failure(5) }
BoolValue ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"A boolean
value."
SYNTAX INTEGER { no(0), yes(1), null(2) }
--BoolValue ::= TEXTUAL-CONVENTION
-- STATUS current
-- DESCRIPTION
-- "A boolean
value."
-- SYNTAX INTEGER { no(0), yes(1), null(2)
}
netBotzEnclosures
OBJECT IDENTIFIER ::= { netBotzV2 2 }
netBotzPorts
OBJECT IDENTIFIER ::= { netBotzV2 3 }
netBotzSensors
OBJECT IDENTIFIER ::= { netBotzV2 4 }
netBotzErrors
OBJECT IDENTIFIER ::= { netBotzV2 5 }
netBotzNumericSensors OBJECT IDENTIFIER
::= { netBotzSensors 1 }
netBotzStateSensors OBJECT
IDENTIFIER ::= { netBotzSensors 2 }
--
-- Enclosures
--
Danie