export MIBS=3DALL
I have a ClearCall-MIB node in the file
ClearCall-MIB.txt.
Trying to generate the code scalars.
Throwing the following error.

Attaching the mib file

mib2c -c mib2c.scalar.conf ClearCall-MIB
Cannot find module (ClearCall-MIB): At line 0 in
(none)

You didn't give mib2c a valid OID to start with. IE,
I could not find
any information about the mib node "ClearCall-MIB". =

This could be caused
because you supplied an incorrectly node, or by the
MIB that you're
trying to generate code from isn't loaded. To make
sure your mib is
loaded, run mib2c using this as an example:

env MIBS=3D"+MY-PERSONAL-MIB" mib2c -c
mib2c.scalar.conf ClearCall-MIB

You might wish to start by reading the MIB loading
tutorial at:

=

http://www.net-snmp.org/tutorial-5/c...b-options.html

And making sure you can get snmptranslate to display
information about
your MIB node. Once snmptranslate works, then come
back and try mib2c
again.







--************************************************** ***********************=
*****
-- Summary of ClearCall Management Information Base
--************************************************** ***********************=
*****
--
-- Prominence (1.3.6.1.4.1.7363)
-- =

-- ProductFamily Prominence.1
--
-- ClearCall (ProductFamily.1)
-- Generic(all) (ClearCall.1)
-- MD (ClearCall.2)
-- MC (ClearCall.3)
-- prominenceMibData (MD.1)
-- prominenceMibDataAlarmTable =

(MD.1.1)
-- prominenceMibDataClusterTable =

(MD.1.2)
-- prominenceMibDataEnableTrapForwarding (MD.1.3)
-- prominenceMibDatatrapForwardingRulesTable
(MD.1.4)
--
-- prominenceTrapData (MD.2)
-- prominenceTrapDataAlarmText (MD.2.1)
-- prominenceTrapCreationTime (MD.2.2)
-- prominenceTrapSeverity (MD.2.3)
=

--
--************************************************** ***********************=
*****



ClearCall-MIB DEFINITIONS ::=3D BEGIN

IMPORTS
enterprises FROM RFC1155-SMI
DisplayString FROM RFC1213-MIB
OBJECT-TYPE FROM RFC-1212
TRAP-TYPE FROM RFC-1215; =

=

-- names of objects
Prominence MODULE-IDENTITY
LAST-UPDATED "0101051000Z"
ORGANIZATION "Prominence Networks"
CONTACT-INFO "Prominence Networks, Holmdel, NJ,
U.S.A."
DESCRIPTION "voice_app application MIB"
::=3D { enterprises 7363 }

-- =

---------------------------------------------------------------------------
=

-- =


ProductFamily OBJECT IDENTIFIER ::=3D { Prominence 1
}

ClearCall OBJECT IDENTIFIER ::=3D { ProductFamily 1 }
MD OBJECT IDENTIFIER ::=3D { ClearCall 1 }
MC OBJECT IDENTIFIER ::=3D { ClearCall 2 }
prominenceMibData OBJECT IDENTIFIER ::=3D { MD 1 }
prominenceTrapData OBJECT IDENTIFIER ::=3D { MD 2 }
=

=

=

-----------------------------------------------------------------------
-- The Alarms table
-- This table contains all alarms that are generated
by the system.
---------------------------------------------------------------------------
prominenceMibDataAlarmTable OBJECT-TYPE
SYNTAX SEQUENCE OF AlarmEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"table of all alarms"
::=3D { prominenceMibData 1 }

alarmEntry OBJECT-TYPE
SYNTAX AlarmEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
" An alarm is an exceptional event that
requires user
notificaton"
INDEX { alarmID }
::=3D { prominenceMibDataAlarmTable 1 }
=

AlarmEntry ::=3D
SEQUENCE {
alarmID =

INTEGER,
alarmSeverity
INTEGER,
rootElement
DisplayString,
creationTime
TimeTicks,
status
INTEGER,
nameValuePair
DisplayString,
alarmText
DisplayText
}
=

alarmID OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Unique value for each alarm. Its value
ranges from 1 to
MAXINT (4 bytes). "
::=3D { alarmEntry 1 }
=

alarmSeverity OBJECT-TYPE
SYNTAX INTEGER {
status (0),
minor (1),
major (2),
critical (3)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Indicates severity of this alarm"
::=3D { alarmEntry 2 }

rootElement OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The root cause of the alarm"
::=3D { alarmEntry 3 }

creationTime OBJECT-TYPE
SYNTAX TimeTicks
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The time at which the alarm was created"
::=3D { alarmEntry 4 }

alarmStatus OBJECT-TYPE
SYNTAX INTEGER {
new (1),
acknowledged (2),
clear (3)
}

ACCESS read-write
STATUS mandatory
DESCRIPTION
"When an alarm is first created, its state
is 'new'. The
user can then set it to 'ack', to indicate that
its being
processed by the user. 'clear' state indicates
that the
alarm has been processed by the user."
::=3D { alarmEntry 5 }

alarmText OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This is the alarm text"
::=3D { alarmEntry 6 }
---------------------------------------------------------------------------
-- Clusters Table =

-- A view of Clusters and their interfaces
---------------------------------------------------------------------------
prominenceMibDataClusterTable OBJECT-TYPE
SYNTAX SEQUENCE OF ClusterEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"table of all MediaIP Clusters"
::=3D { prominenceMibData 2 }

ClusterEntry OBJECT-TYPE
SYNTAX ClusterEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
" A Server is a media director, media
controller, or =

any other Server introduced into the network
by =

prominence networks. A Cluster is a redundant
pair
of Servers"
INDEX { ClusterIPAddress }
::=3D { prominenceMibDataClusterTable 1 }
=

ClusterEntry ::=3D
SEQUENCE {
ClusterIPAddress
IpAddress
ClusterName
DisplayString,
ClusterType
INTEGER,
ClusterState
INTEGER,
}

ClusterIPAddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Cluster ip address"
::=3D { ClusterEntry 1 }

ClusterName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..50))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Name of Cluster"
::=3D { ClusterEntry 2 }

ClusterType OBJECT-TYPE
SYNTAX INTEGER {
MD(1) ,
MC(2)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Indicates type of Cluster. MD is Media Director
MC is media Controller"
::=3D { ClusterEntry 3 }

ClusterState OBJECT-TYPE
SYNTAX INTEGER {
INITIALIZING(0),
UPPENDING(1),
DOWNPENDING(2),
UP(3),
DOWN(4),
HALTED(5),
UNDERMAINTENANCE(6),
UNREGISTERING(7)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Cluster state"
::=3D { ClusterEntry 4 }

---------------------------------------------------------------------------
-- Global Trap forwarding Scalar
---------------------------------------------------------------------------
prominenceMibDataEnableTrapForwarding OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(0)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Setting this scalar to enable will enable MD
to =

start forwarding traps based on trap forwarding
rules. =

If set to disable, no traps are sent to ANY =

trap destinations"
::=3D { prominenceMibData 3 }
---------------------------------------------------------------------------
-- Trap forwarding rules
---------------------------------------------------------------------------
=

prominenceMibDatatrapForwardingRulesTable
OBJECT-TYPE
SYNTAX SEQUENCE OF
TrapForwardingRulesEntry
MAX-ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"table of all trap forwarding rules. No
additional
rows can be inserted. Individual alarm codes can

however be enabled or disabled for being =

forwarded as a trap"
::=3D { prominenceMibData 4 }

trapForwardingRulesEntry OBJECT-TYPE
SYNTAX TrapForwardingRulesEntry
MAX-ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"Traps can be enabled, and configured via this
table"
INDEX { trapForwardingRuleID }
::=3D { prominenceMibDatatrapForwardingRulesTable
1 }
=

TrapForwardingRulesEntry ::=3D
SEQUENCE {
trapForwardingRuleID =

INTEGER,
alarmCode
DisplayString,
alarmCountThreshold
INTEGER,
trapIsEnabled
INTEGER,
severityThreshold
INTEGER
}

trapForwardingRuleID OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Unique ID identifying trap rule"
::=3D { trapForwardingRulesEntry 1 }
=

alarmCode OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..50))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Code signifying an alarm"
::=3D { trapForwardingRulesEntry 2 }

alarmCountThreshold OBJECT-TYPE
SYNTAX INTEGER =

ACCESS read-write
STATUS mandatory
DESCRIPTION
"A trap is sent once for this many occurences
of
alarms"
::=3D { trapForwardingRulesEntry 3 }
=

trapIsEnabled OBJECT-TYPE
SYNTAX INTEGER {
enabled (1) ,
disabled (0)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Determines if trap is enabled for this alarm
code"
::=3D { trapForwardingRulesEntry 4 }
=

severityThreshold OBJECT-TYPE
SYNTAX INTEGER {
status (0),
minor (1),
major (2),
critical(3)
}

ACCESS read-write
STATUS mandatory
DESCRIPTION
"events with severity equal to or below this
threshold
qualify to be potentially sent as a trap.
(Assuming
it passes other thresholds)"
::=3D { trapForwardingRulesEntry 5 }
=

=

prominenceTrapDataAlarmText OBJECT-TYPE
SYNTAX DisplayString
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"An alarmText describes the nature of the
trap"
::=3D { prominenceTrapData 1 }

prominenceTrapCreationTime OBJECT-TYPE
SYNTAX DisplayString
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The time at which the trap is created"
::=3D { prominenceTrapData 2 }

prominenceTrapSeverity OBJECT-TYPE
SYNTAX INTEGER {
status (0),
minor (1),
major (2),
critical(3)
}

ACCESS read-write
STATUS mandatory
DESCRIPTION
" The severity value type. "
::=3D { prominenceTrapData 3 }


=

ClearCallTrapRouteMediaPhoneFailure TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the Media Router not
able to route media to a Phone.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity
"
::=3D 1
ClearCallTrapRouteMediaRemoteMCFailure TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the Phone not able to
route media to a Remote Media Router.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity "
::=3D 2

=

ClearCallTrapDataMgrMessageSendFailure TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText ,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the Data manager not
able to receive the messages.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 3
=

=

ClearCallTrapReceiveInvalidMessage TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText ,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the Send Mgr receives
the invalid IPC message.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity
"
::=3D 4
=

ClearCallTrapSetupH323NeighboursFailed =

TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the ClusterMgr failed
to setup the neighbours.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 5
=

ClearCallTrapProcessDied TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText ,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity
This trap is sent when the critical process dies.
"
::=3D 6
=

ClearCallTrapScheduleTestFailed TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the TTA is unable to
schedule the test .
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 7

ClearCallTrapAllocTTATestPortsFailed TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText ,
prominenceTrapCreationTime, prominenceTrapSeverity
}
DESCRIPTION
"This trap is sent when the TTA is unable to
allocate ports for the endpoint .
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity "
::=3D 8
=

ClearCallTrapMCSourceChannleAckFailed TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the TTA receives the
error ack from the MR Source Channel for the test.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity
"
::=3D 9
=

=

ClearCallTrapMCDestChannleAckFailed TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity}
DESCRIPTION
"This trap is sent when the TTA receives the
error ack from the MR Dest Channel for the test.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 10
=

=

ClearCallTrapJitterMetricsExceedsThreshold
TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the Jitter metrics
exceeds threshold.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity


"
::=3D 11
ClearCallTrapDelayMetricsExceedsThreshold TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the Delay metrics
exceeds threshold.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity
"
::=3D 12
=

ClearCallTrapPacketLossMetricsExceedsThreshold
TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the PacketLoss metrics
exceeds threshold.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 13
=

=

ClearCallTrapSequentialPacketLossMetricsExceedsThr eshold
TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the Sequential
PacketLoss metrics exceeds threshold.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D14

ClearCallTrapAckmsgbuildFailed TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the SendMgr not able
to sent ack for the bandwidth request .
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 15
=

ClearCallResetRemoteConnectedChannel TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the MediaRouter Remote
connected channel is reset =

Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

".
::=3D16
=

ClearCallTrapInvalidPipeBandwidthRequest
TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the RecvMgr receives
the invalid pipe bandwidth request =

Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity
"
::=3D 17
ClearCallTrapInvalidPipeResvRequest TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the invalid RESV
message received for the pipe between MC=92s .
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 18
=

ClearCallTrapInvalidPipeResvRequest TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the invalid RESV
message received for the pipe between MC=92s .
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 19
ClearCallTrapResvMessageTimeout TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent for the timeout while
waiting for RESV msg for the pipe between the MCs.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 20
=

=

ClearCallTrapInvalidPathMessage TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the invalid PATH msg
received for the pipe between the MCs.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 21
ClearCallTrapInvalidPathMessage TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the invalid PATH msg
received for the pipe between the MCs.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 22
ClearCallTrapInvalidPathMessage TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the invalid PATH msg
received for the pipe between the MCs.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity
"
::=3D 23
=

ClearCallTrapRsvpConnectFailure TRAP-TYPE
ENTERPRISE ClearCall
VARIABLES { prominenceTrapDataAlarmText,
prominenceTrapCreationTime, prominenceTrapSeverity }
DESCRIPTION
"This trap is sent when the RecvMgr not able
to connect to the RSVP daemon.
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
::=3D 24
=

END



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around =

http://mail.yahoo.com =



_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders