⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 disman-traceroute-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 4 页
字号:
 traceRouteCtlSourceAddress OBJECT-TYPE    SYNTAX      InetAddress    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "Use the specified IP address (which must be given        as an IP number, not a hostname) as the source        address in outgoing probe packets. On hosts with        more than one IP address, this option can be used        to force the source address to be something other        than the primary IP address of the interface the        probe packet is sent on.  If the IP address is not        one of this machine's interface addresses, an error        is returned and nothing is sent.  A zero length        octet string value for this object disables source        address specification.        The address type (InetAddressType) that relates to        this object is specified by the corresponding value        of traceRouteCtlSourceAddressType."    DEFVAL { ''H }    ::= { traceRouteCtlEntry 13 } traceRouteCtlIfIndex OBJECT-TYPE    SYNTAX      InterfaceIndexOrZero    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "Setting this object to an interface's ifIndex prior        to starting a remote traceroute operation directs        the traceroute probes to be transmitted over the        specified interface.  A value of zero for this object        implies that this option is not enabled."    DEFVAL { 0 }    ::= { traceRouteCtlEntry 14 } traceRouteCtlMiscOptions OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "Enables an application to specify implementation        dependent options."    DEFVAL { ''H }    ::= { traceRouteCtlEntry 15 } traceRouteCtlMaxFailures OBJECT-TYPE    SYNTAX      Unsigned32 (0..255)    UNITS       "timeouts"    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The value of this object indicates the maximum number        of consecutive timeouts allowed before terminating        a remote traceroute request.  A value of either 255 (maximum        hop count/possible TTL value) or a 0 indicates that the        function of terminating a remote traceroute request when a        specific number of successive timeouts are detected is        disabled."    DEFVAL { 5 }    ::= { traceRouteCtlEntry 16 } traceRouteCtlDontFragment OBJECT-TYPE    SYNTAX         TruthValue    MAX-ACCESS     read-create    STATUS         current    DESCRIPTION        "This object enables setting of the don't fragment flag (DF)        in the IP header for a probe.  Use of this object enables        performing a manual PATH MTU test."    DEFVAL  { false }    ::= { traceRouteCtlEntry 17 } traceRouteCtlInitialTtl OBJECT-TYPE    SYNTAX         Unsigned32 (0..255)    MAX-ACCESS     read-create    STATUS         current    DESCRIPTION        "The value of this object specifies the initial TTL value to        use.  This enables bypassing the initial (often well known)        portion of a path."    DEFVAL { 1 }    ::= { traceRouteCtlEntry 18 } traceRouteCtlFrequency  OBJECT-TYPE    SYNTAX      Unsigned32    UNITS       "seconds"    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The number of seconds to wait before repeating a        traceroute test as defined by the value of the        various objects in the corresponding row.        The number of hops in a single traceroute test        is determined by the value of the corresponding        traceRouteCtlProbesPerHop object.  After a        single test completes the number of seconds as defined        by the value of traceRouteCtlFrequency MUST elapse        before the next traceroute test is started.        A value of 0 for this object implies that the test        as defined by the corresponding entry will not be        repeated."    DEFVAL { 0 }    ::= { traceRouteCtlEntry 19 } traceRouteCtlStorageType OBJECT-TYPE    SYNTAX      StorageType    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The storage type for this conceptual row.        Conceptual rows having the value 'permanent' need not        allow write-access to any columnar objects in the row."    DEFVAL { nonVolatile }    ::= { traceRouteCtlEntry 20 } traceRouteCtlAdminStatus OBJECT-TYPE    SYNTAX      INTEGER {                          enabled(1), -- operation should be started                          disabled(2) -- operation should be stopped                        }    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "Reflects the desired state that an traceRouteCtlEntry        should be in:           enabled(1)  - Attempt to activate the test as defined by                         this traceRouteCtlEntry.           disabled(2) - Deactivate the test as defined by this                         traceRouteCtlEntry.        Refer to the corresponding traceRouteResultsOperStatus to        determine the operational state of the test defined by        this entry."     DEFVAL { disabled }    ::= { traceRouteCtlEntry 21 } traceRouteCtlDescr OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The purpose of this object is to provide a        descriptive name of the remote traceroute        test."    DEFVAL { '00'H }    ::= { traceRouteCtlEntry 22 } traceRouteCtlMaxRows OBJECT-TYPE    SYNTAX      Unsigned32    UNITS       "rows"    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The maximum number of entries allowed in the        traceRouteProbeHistoryTable.  An implementation of        this MIB will remove the oldest entry in the        traceRouteProbeHistoryTable to allow the addition        of an new entry once the number of rows in the        traceRouteProbeHistoryTable reaches this value.        Old entries are not removed when a new test is        started.  Entries are added to the        traceRouteProbeHistoryTable until traceRouteCtlMaxRows        is reached before entries begin to be removed.        A value of 0 for this object disables creation of        traceRouteProbeHistoryTable entries."    DEFVAL      { 50 }    ::= { traceRouteCtlEntry 23 } traceRouteCtlTrapGeneration OBJECT-TYPE    SYNTAX      BITS {                  pathChange(0),                  testFailure(1),                  testCompletion(2)                }    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The value of this object determines when and if to        to generate a notification for this entry:        pathChange(0)     - Generate a traceRoutePathChange            notification when the current path varies from a            previously determined path.        testFailure(1)    - Generate a traceRouteTestFailed            notification when the full path to a target            can't be determined.        testCompletion(2) - Generate a traceRouteTestCompleted            notification when the path to a target has been            determined.        The value of this object defaults to zero, indicating        that none of the above options have been selected."    ::= { traceRouteCtlEntry 24 } traceRouteCtlCreateHopsEntries OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The current path for a traceroute test is kept in the        traceRouteHopsTable on a per hop basis when the value of        this object is true(1)."    DEFVAL { false }    ::= { traceRouteCtlEntry 25 } traceRouteCtlType OBJECT-TYPE    SYNTAX      OBJECT IDENTIFIER    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The value of this object is used either to report or        select the implementation method to be used for        performing a traceroute operation. The value of this        object may be selected from        traceRouteImplementationTypeDomains.        Additional implementation types should be allocated as        required by implementers of the DISMAN-TRACEROUTE-MIB        under their enterprise specific registration point and        not beneath traceRouteImplementationTypeDomains."    DEFVAL { traceRouteUsingUdpProbes }    ::= { traceRouteCtlEntry 26 } traceRouteCtlRowStatus OBJECT-TYPE    SYNTAX      RowStatus    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "This object allows entries to be created and deleted        in the traceRouteCtlTable.  Deletion of an entry in        this table results in all corresponding (same        traceRouteCtlOwnerIndex and traceRouteCtlTestName        index values) traceRouteResultsTable,        traceRouteProbeHistoryTable, and traceRouteHopsTable        entries being deleted.        A value MUST be specified for traceRouteCtlTargetAddress        prior to a transition to active(1) state being        accepted.        Activation of a remote traceroute operation is        controlled via traceRouteCtlAdminStatus and not        by transitioning of this object's value to active(1).        Transitions in and out of active(1) state are not        allowed while an entry's traceRouteResultsOperStatus        is active(1) with the exception that deletion of        an entry in this table by setting its RowStatus        object to destroy(6) will stop an active        traceroute operation.        The operational state of an traceroute operation        can be determined by examination of the corresponding        traceRouteResultsOperStatus object."    REFERENCE        "See definition of RowStatus in RFC 2579, 'Textual        Conventions for SMIv2.'"    ::= { traceRouteCtlEntry 27 } -- Traceroute Results Table traceRouteResultsTable OBJECT-TYPE    SYNTAX      SEQUENCE OF TraceRouteResultsEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Defines the Remote Operations Traceroute Results Table for        keeping track of the status of a traceRouteCtlEntry.        An entry is added to the traceRouteResultsTable when an        traceRouteCtlEntry is started by successful transition        of its traceRouteCtlAdminStatus object to enabled(1).        An entry is removed from the traceRouteResultsTable when        its corresponding traceRouteCtlEntry is deleted."   ::= { traceRouteObjects 3 } traceRouteResultsEntry OBJECT-TYPE    SYNTAX      TraceRouteResultsEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Defines an entry in the traceRouteResultsTable.  The        traceRouteResultsTable has the same indexing as the        traceRouteCtlTable in order for a traceRouteResultsEntry        to correspond to the traceRouteCtlEntry that caused it to        be created."    INDEX {            traceRouteCtlOwnerIndex,            traceRouteCtlTestName          }    ::= { traceRouteResultsTable 1 } TraceRouteResultsEntry ::=    SEQUENCE {      traceRouteResultsOperStatus       INTEGER,      traceRouteResultsCurHopCount      Gauge32,      traceRouteResultsCurProbeCount    Gauge32,      traceRouteResultsIpTgtAddrType    InetAddressType,      traceRouteResultsIpTgtAddr        InetAddress,      traceRouteResultsTestAttempts     Unsigned32,      traceRouteResultsTestSuccesses    Unsigned32,      traceRouteResultsLastGoodPath     DateAndTime    } traceRouteResultsOperStatus OBJECT-TYPE    SYNTAX      INTEGER {                          enabled(1), -- test is in progress                          disabled(2) -- test has stopped                        }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Reflects the operational state of an traceRouteCtlEntry:           enabled(1)  - Test is active.           disabled(2) - Test has stopped."    ::= { traceRouteResultsEntry 1 } traceRouteResultsCurHopCount OBJECT-TYPE    SYNTAX      Gauge32    UNITS       "hops"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -