export MIBS=ALL
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="+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/commands/mib-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 ::= 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"
       ::= { enterprises 7363 }

-- 
---------------------------------------------------------------------------
        
        -- 

   ProductFamily OBJECT IDENTIFIER ::= { Prominence 1
}

   ClearCall OBJECT IDENTIFIER ::= { ProductFamily 1 }
   MD                   OBJECT IDENTIFIER ::= {  ClearCall 1 }
   MC                   OBJECT IDENTIFIER ::= {  ClearCall 2 }
   prominenceMibData    OBJECT IDENTIFIER ::= {  MD 1 }
   prominenceTrapData   OBJECT IDENTIFIER ::= {  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"
            ::= { 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 }
            ::=  { prominenceMibDataAlarmTable 1 }
        
        AlarmEntry ::=
            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). "
           ::= { 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"
           ::= { alarmEntry 2 }

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

        creationTime OBJECT-TYPE
           SYNTAX   TimeTicks
           ACCESS   read-only
           STATUS   mandatory
           DESCRIPTION
                    "The time at which the alarm was created"
           ::= { 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."
           ::= { alarmEntry 5 }

        alarmText OBJECT-TYPE
           SYNTAX   DisplayString (SIZE (0..255))
           ACCESS   read-only
           STATUS   mandatory
           DESCRIPTION
                    "This is the alarm text"
           ::= { 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"
            ::= { 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 }
            ::=  { prominenceMibDataClusterTable 1 }
        
        ClusterEntry ::=
            SEQUENCE {
                    ClusterIPAddress
                       IpAddress
                    ClusterName
                       DisplayString,
                    ClusterType
                       INTEGER,
                    ClusterState
                       INTEGER,
            }

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

        ClusterName    OBJECT-TYPE
           SYNTAX     DisplayString (SIZE (0..50))
           ACCESS     read-only
           STATUS     mandatory
           DESCRIPTION
                      "Name of Cluster"
           ::= { 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"
           ::= { 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"
           ::= { 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"
            ::= { 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"
       ::= { 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 }
            ::=  { prominenceMibDatatrapForwardingRulesTable
1 }
        
        TrapForwardingRulesEntry ::=
            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"
           ::= { trapForwardingRulesEntry 1 }
               
        alarmCode    OBJECT-TYPE
           SYNTAX     DisplayString (SIZE (0..50))
           ACCESS     read-only
           STATUS     mandatory
           DESCRIPTION
                      "Code signifying an alarm"
           ::= { trapForwardingRulesEntry 2 }

        alarmCountThreshold    OBJECT-TYPE
           SYNTAX     INTEGER 
           ACCESS     read-write
           STATUS     mandatory
           DESCRIPTION
                     "A trap is sent once for this many occurences
of
                     alarms"
           ::= { 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"
           ::= { 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)"
           ::= { trapForwardingRulesEntry 5 }
           
           
           prominenceTrapDataAlarmText OBJECT-TYPE
             SYNTAX  DisplayString
             ACCESS  not-accessible
             STATUS  mandatory
             DESCRIPTION
               "An alarmText describes the nature of the
trap"
             ::= { prominenceTrapData 1 }

                prominenceTrapCreationTime OBJECT-TYPE
             SYNTAX  DisplayString
             ACCESS  not-accessible
             STATUS  mandatory
             DESCRIPTION
               "The time at which the trap is created"
             ::= { 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. "
           ::= { 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
"
                ::= 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 "
               ::= 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

"
               ::= 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
"
                ::= 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

"
               ::= 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.
"
               ::= 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

"
               ::= 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 "
               ::= 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
"
               ::= 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

"
               ::= 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


"
               ::= 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
"
               ::= 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

"
               ::= 13
                   
          
ClearCallTrapSequentialPacketLossMetricsExceedsThreshold
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

"
               ::=14

   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

"
               ::= 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

".
                ::=16
                
           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
"
               ::= 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’s .
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
               ::= 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’s .
Varbind #1: AlarmText
Varbind #2: creation Time
Varbind #3: severity

"
               ::= 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

"
                ::= 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

"
               ::= 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

"
               ::= 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
"
                ::= 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

"
                ::= 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to