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

📄 hc-rmon-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
HC-RMON-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE, Counter32, Integer32,        Gauge32, Counter64             FROM SNMPv2-SMI    RowStatus, TimeStamp               FROM SNMPv2-TC    MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF    rmon, OwnerString, statistics, history, hosts, hostTopN, matrix,    etherStatsIndex, etherHistoryIndex, etherHistorySampleIndex,    hostIndex, hostAddress, hostTimeIndex, hostTimeCreationOrder,    hostTopNReport, hostTopNIndex,    matrixSDIndex, matrixSDSourceAddress, matrixSDDestAddress,    matrixDSIndex, matrixDSDestAddress, matrixDSSourceAddress,    capture, captureBufferControlIndex, captureBufferIndex                                    FROM RMON-MIB    protocolDirLocalIndex, protocolDistControlIndex,    protocolDist, hlHostControlIndex,    nlHost, nlHostTimeMark, nlHostAddress,    hlMatrixControlIndex, nlMatrix,    nlMatrixSDTimeMark, nlMatrixSDSourceAddress, nlMatrixSDDestAddress,    nlMatrixDSTimeMark, nlMatrixDSDestAddress, nlMatrixDSSourceAddress,    nlMatrixTopNControlIndex, nlMatrixTopNIndex,    alHost, alHostTimeMark,    alMatrix, alMatrixSDTimeMark, alMatrixDSTimeMark,    alMatrixTopNControlIndex, alMatrixTopNIndex,    usrHistory, usrHistoryControlIndex,    usrHistorySampleIndex, usrHistoryObjectIndex,    rmonConformance, ZeroBasedCounter32, probeConfig                                    FROM RMON2-MIB    ZeroBasedCounter64, CounterBasedGauge64                                    FROM HCNUM-TC;--  Remote Network Monitoring MIBhcRMON MODULE-IDENTITY    LAST-UPDATED "200205080000Z"    -- May 08, 2002    ORGANIZATION "IETF RMON MIB Working Group"    CONTACT-INFO        "Steve Waldbusser        Phone: +1-650-948-6500        Fax:   +1-650-745-0671        Email: waldbusser@nextbeacon.com        Andy Bierman        WG Chair        abierman@cisco.com        RMONMIB WG Mailing List        rmonmib@ietf.org        http://www.ietf.org/mailman/listinfo/rmonmib"    DESCRIPTION        "The MIB module for managing remote monitoring        device implementations. This MIB module        augments the original RMON MIB as specified in        RFC 2819 and RFC 1513 and RMON-2 MIB as specified in        RFC 2021."    REVISION "200205080000Z"    -- May 08, 2002    DESCRIPTION        "The original version of this MIB, published as RFC3273."    ::= { rmonConformance 5 }-- { rmon 1 } through { rmon 20 } are defined in RMON [RFC 2819] and-- the Token Ring RMON MIB [RFC 1513] and the RMON-2 MIB [RFC 2021].mediaIndependentStats  OBJECT IDENTIFIER ::= { rmon 21 }mediaIndependentTable OBJECT-TYPE    SYNTAX     SEQUENCE OF MediaIndependentEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "Media independent statistics for promiscuous monitoring of        any media.        The following table defines media independent statistics that        provide information for full and/or half-duplex links as well        as high capacity links.        For half-duplex links, or full-duplex-capable links operating        in half-duplex mode, the mediaIndependentIn* objects shall be        used and the mediaIndependentOut* objects shall not increment.        For full-duplex links, the mediaIndependentOut* objects shall        be present and shall increment. Whenever possible, the probe        should count packets moving away from the closest terminating        equipment as output packets. Failing that, the probe should        count packets moving away from the DTE as output packets."    ::= { mediaIndependentStats 1 }mediaIndependentEntry OBJECT-TYPE    SYNTAX     MediaIndependentEntry    MAX-ACCESS not-accessible    STATUS      current    DESCRIPTION        "Media independent statistics for promiscuous monitoring of        any media."    INDEX { mediaIndependentIndex }    ::= { mediaIndependentTable 1 }MediaIndependentEntry ::= SEQUENCE {    mediaIndependentIndex                       Integer32,    mediaIndependentDataSource                  OBJECT IDENTIFIER,    mediaIndependentDropEvents                  Counter32,    mediaIndependentDroppedFrames               Counter32,    mediaIndependentInPkts                      Counter32,    mediaIndependentInOverflowPkts              Counter32,    mediaIndependentInHighCapacityPkts          Counter64,    mediaIndependentOutPkts                     Counter32,    mediaIndependentOutOverflowPkts             Counter32,    mediaIndependentOutHighCapacityPkts         Counter64,    mediaIndependentInOctets                    Counter32,    mediaIndependentInOverflowOctets            Counter32,    mediaIndependentInHighCapacityOctets        Counter64,    mediaIndependentOutOctets                   Counter32,    mediaIndependentOutOverflowOctets           Counter32,    mediaIndependentOutHighCapacityOctets       Counter64,    mediaIndependentInNUCastPkts                Counter32,    mediaIndependentInNUCastOverflowPkts        Counter32,    mediaIndependentInNUCastHighCapacityPkts    Counter64,    mediaIndependentOutNUCastPkts               Counter32,    mediaIndependentOutNUCastOverflowPkts       Counter32,    mediaIndependentOutNUCastHighCapacityPkts   Counter64,    mediaIndependentInErrors                    Counter32,    mediaIndependentOutErrors                   Counter32,    mediaIndependentInputSpeed                  Gauge32,    mediaIndependentOutputSpeed                 Gauge32,    mediaIndependentDuplexMode                  INTEGER,    mediaIndependentDuplexChanges               Counter32,    mediaIndependentDuplexLastChange            TimeStamp,    mediaIndependentOwner                       OwnerString,    mediaIndependentStatus                      RowStatus}mediaIndependentIndex OBJECT-TYPE    SYNTAX     Integer32 (1..65535)    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION        "The value of this object uniquely identifies this        mediaIndependent entry."    ::= { mediaIndependentEntry 1 }mediaIndependentDataSource OBJECT-TYPE    SYNTAX     OBJECT IDENTIFIER    MAX-ACCESS read-create    STATUS     current    DESCRIPTION        "This object identifies the source of the data that        this mediaIndependent entry is configured to analyze.  This        source can be any interface on this device.        In order to identify a particular interface, this        object shall identify the instance of the ifIndex        object, defined in RFC 1213 and RFC 2233 [16,17], for        the desired interface.  For example, if an entry        were to receive data from interface #1, this object        would be set to ifIndex.1.        The statistics in this group reflect all packets        on the local network segment attached to the        identified interface.        An agent may or may not be able to tell if        fundamental changes to the media of the interface        have occurred and necessitate a deletion of        this entry.  For example, a hot-pluggable ethernet        card could be pulled out and replaced by a        token-ring card.  In such a case, if the agent has        such knowledge of the change, it is recommended that        it delete this entry.        This object may not be modified if the associated        mediaIndependentStatus object is equal to active(1)."    ::= { mediaIndependentEntry 2 }mediaIndependentDropEvents OBJECT-TYPE    SYNTAX     Counter32    UNITS      "Events"    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The total number of events in which packets        were dropped by the probe due to lack of resources.        Note that this number is not necessarily the number of        packets dropped; it is just the number of times this        condition has been detected."    ::= { mediaIndependentEntry 3 }mediaIndependentDroppedFrames OBJECT-TYPE    SYNTAX     Counter32    UNITS      "Packets"    MAX-ACCESS read-only    STATUS     current    DESCRIPTION       "The total number of frames which were received by the probe        and therefore not accounted for in the        mediaIndependentDropEvents, but for which the probe chose not        to count for this entry for whatever reason.  Most often, this        event occurs when the probe is out of some resources and        decides to shed load from this collection.        This count does not include packets that were not counted        because they had MAC-layer errors.        Note that, unlike the dropEvents counter, this number is the        exact number of frames dropped."    ::= { mediaIndependentEntry 4 }mediaIndependentInPkts OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Packets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of packets (including bad packets,        broadcast packets, and multicast packets) received        on a half-duplex link or on the inbound connection of a        full-duplex link."    ::= { mediaIndependentEntry 5 }mediaIndependentInOverflowPkts OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Packets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of times the associated        mediaIndependentInPkts counter has overflowed."    ::= { mediaIndependentEntry 6 }mediaIndependentInHighCapacityPkts OBJECT-TYPE    SYNTAX      Counter64    UNITS       "Packets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of packets (including bad packets,        broadcast packets, and multicast packets) received        on a half-duplex link or on the inbound connection of a        full-duplex link."    ::= { mediaIndependentEntry 7 }mediaIndependentOutPkts OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Packets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of packets (including bad packets,        broadcast packets, and multicast packets) received on a        full-duplex link in the direction of the network."    ::= { mediaIndependentEntry 8 }mediaIndependentOutOverflowPkts OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Packets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of times the associated        mediaIndependentOutPkts counter has overflowed."    ::= { mediaIndependentEntry 9 }mediaIndependentOutHighCapacityPkts OBJECT-TYPE    SYNTAX      Counter64    UNITS       "Packets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of packets (including bad packets,        broadcast packets, and multicast packets) received on a        full-duplex link in the direction of the network."    ::= { mediaIndependentEntry 10 }mediaIndependentInOctets OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Octets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of octets of data (including those in bad        packets) received (excluding framing bits but including FCS        octets) on a half-duplex link or on the inbound connection of        a full-duplex link."    ::= { mediaIndependentEntry 11 }mediaIndependentInOverflowOctets OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Octets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of times the associated        mediaIndependentInOctets counter has overflowed."    ::= { mediaIndependentEntry 12 }mediaIndependentInHighCapacityOctets OBJECT-TYPE    SYNTAX      Counter64    UNITS       "Octets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of octets of data (including those in bad        packets) received (excluding framing bits but        including FCS octets) on a half-duplex link or on the inbound        connection of a full-duplex link."    ::= { mediaIndependentEntry 13 }mediaIndependentOutOctets OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Octets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of octets of data (including those in bad        packets) received on a full-duplex link in the direction of        the network (excluding framing bits but including FCS        octets)."    ::= { mediaIndependentEntry 14 }mediaIndependentOutOverflowOctets OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Octets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of times the associated        mediaIndependentOutOctets counter has overflowed."    ::= { mediaIndependentEntry 15 }mediaIndependentOutHighCapacityOctets OBJECT-TYPE    SYNTAX      Counter64    UNITS       "Octets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of octets of data (including those in bad        packets) received on a full-duplex link in the direction of        the network (excluding framing bits but including FCS        octets)."    ::= { mediaIndependentEntry 16 }mediaIndependentInNUCastPkts OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Packets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The total number of non-unicast packets (including bad        packets) received on a half-duplex link or on the inbound        connection of a full-duplex link."    ::= { mediaIndependentEntry 17 }mediaIndependentInNUCastOverflowPkts OBJECT-TYPE    SYNTAX      Counter32    UNITS       "Packets"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION

⌨️ 快捷键说明

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