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

📄 tcp-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 2 页
字号:
TCP-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE, Integer32, Unsigned32,    Gauge32, Counter32, Counter64, IpAddress, mib-2                                       FROM SNMPv2-SMI    MODULE-COMPLIANCE, OBJECT-GROUP    FROM SNMPv2-CONF    InetAddress, InetAddressType,    InetPortNumber                     FROM INET-ADDRESS-MIB;tcpMIB MODULE-IDENTITY    LAST-UPDATED "200502180000Z"  -- 18 February 2005    ORGANIZATION           "IETF IPv6 MIB Revision Team            http://www.ietf.org/html.charters/ipv6-charter.html"    CONTACT-INFO           "Rajiv Raghunarayan (editor)            Cisco Systems Inc.            170 West Tasman Drive            San Jose, CA 95134            Phone: +1 408 853 9612            Email: <raraghun@cisco.com>            Send comments to <ipv6@ietf.org>"    DESCRIPTION           "The MIB module for managing TCP implementations.            Copyright (C) The Internet Society (2005). This version            of this MIB module is a part of RFC 4022; see the RFC            itself for full legal notices."    REVISION      "200502180000Z"  -- 18 February 2005    DESCRIPTION           "IP version neutral revision, published as RFC 4022."    REVISION      "9411010000Z"    DESCRIPTION           "Initial SMIv2 version, published as RFC 2012."    REVISION      "9103310000Z"    DESCRIPTION           "The initial revision of this MIB module was part of            MIB-II."    ::= { mib-2 49 }-- the TCP base variables grouptcp      OBJECT IDENTIFIER ::= { mib-2 6 }-- ScalarstcpRtoAlgorithm OBJECT-TYPE    SYNTAX      INTEGER {                    other(1),    -- none of the following                    constant(2), -- a constant rto                    rsre(3),     -- MIL-STD-1778, Appendix B                    vanj(4),     -- Van Jacobson's algorithm                    rfc2988(5)   -- RFC 2988                }    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The algorithm used to determine the timeout value used for            retransmitting unacknowledged octets."    ::= { tcp 1 }tcpRtoMin OBJECT-TYPE    SYNTAX     Integer32 (0..2147483647)    UNITS      "milliseconds"    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The minimum value permitted by a TCP implementation for            the retransmission timeout, measured in milliseconds.            More refined semantics for objects of this type depend            on the algorithm used to determine the retransmission            timeout; in particular, the IETF standard algorithm            rfc2988(5) provides a minimum value."    ::= { tcp 2 }tcpRtoMax OBJECT-TYPE    SYNTAX     Integer32 (0..2147483647)    UNITS      "milliseconds"    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The maximum value permitted by a TCP implementation for            the retransmission timeout, measured in milliseconds.            More refined semantics for objects of this type depend            on the algorithm used to determine the retransmission            timeout; in particular, the IETF standard algorithm            rfc2988(5) provides an upper bound (as part of an            adaptive backoff algorithm)."    ::= { tcp 3 }tcpMaxConn OBJECT-TYPE    SYNTAX     Integer32 (-1 | 0..2147483647)    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The limit on the total number of TCP connections the entity            can support.  In entities where the maximum number of            connections is dynamic, this object should contain the            value -1."    ::= { tcp 4 }tcpActiveOpens OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The number of times that TCP connections have made a direct            transition to the SYN-SENT state from the CLOSED state.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 5 }tcpPassiveOpens OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The number of times TCP connections have made a direct            transition to the SYN-RCVD state from the LISTEN state.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 6 }tcpAttemptFails OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The number of times that TCP connections have made a direct            transition to the CLOSED state from either the SYN-SENT            state or the SYN-RCVD state, plus the number of times that            TCP connections have made a direct transition to the            LISTEN state from the SYN-RCVD state.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 7 }tcpEstabResets OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The number of times that TCP connections have made a direct            transition to the CLOSED state from either the ESTABLISHED            state or the CLOSE-WAIT state.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 8 }tcpCurrEstab OBJECT-TYPE    SYNTAX     Gauge32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The number of TCP connections for which the current state            is either ESTABLISHED or CLOSE-WAIT."    ::= { tcp 9 }tcpInSegs OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of segments received, including those            received in error.  This count includes segments received            on currently established connections.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 10 }tcpOutSegs OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of segments sent, including those on            current connections but excluding those containing only            retransmitted octets.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 11 }tcpRetransSegs OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of segments retransmitted; that is, the            number of TCP segments transmitted containing one or more            previously transmitted octets.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 12 }tcpInErrs OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of segments received in error (e.g., bad            TCP checksums).            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 14 }tcpOutRsts OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The number of TCP segments sent containing the RST flag.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 15 }-- { tcp 16 } was used to represent the ipv6TcpConnTable in RFC 2452,-- which has since been obsoleted.  It MUST not be used.tcpHCInSegs OBJECT-TYPE    SYNTAX     Counter64    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of segments received, including those            received in error.  This count includes segments received            on currently established connections.  This object is            the 64-bit equivalent of tcpInSegs.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 17 }tcpHCOutSegs OBJECT-TYPE    SYNTAX     Counter64    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of segments sent, including those on            current connections but excluding those containing only            retransmitted octets.  This object is the 64-bit            equivalent of tcpOutSegs.            Discontinuities in the value of this counter are            indicated via discontinuities in the value of sysUpTime."    ::= { tcp 18 }-- The TCP Connection tabletcpConnectionTable OBJECT-TYPE    SYNTAX     SEQUENCE OF TcpConnectionEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "A table containing information about existing TCP            connections.  Note that unlike earlier TCP MIBs, there            is a separate table for connections in the LISTEN state."    ::= { tcp 19 }tcpConnectionEntry OBJECT-TYPE    SYNTAX     TcpConnectionEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "A conceptual row of the tcpConnectionTable containing            information about a particular current TCP connection.            Each row of this table is transient in that it ceases to            exist when (or soon after) the connection makes the            transition to the CLOSED state."    INDEX   { tcpConnectionLocalAddressType,              tcpConnectionLocalAddress,              tcpConnectionLocalPort,              tcpConnectionRemAddressType,              tcpConnectionRemAddress,              tcpConnectionRemPort }    ::= { tcpConnectionTable 1 }TcpConnectionEntry ::= SEQUENCE {        tcpConnectionLocalAddressType   InetAddressType,        tcpConnectionLocalAddress       InetAddress,        tcpConnectionLocalPort          InetPortNumber,        tcpConnectionRemAddressType     InetAddressType,        tcpConnectionRemAddress         InetAddress,        tcpConnectionRemPort            InetPortNumber,        tcpConnectionState              INTEGER,        tcpConnectionProcess            Unsigned32    }tcpConnectionLocalAddressType OBJECT-TYPE    SYNTAX     InetAddressType    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The address type of tcpConnectionLocalAddress."    ::= { tcpConnectionEntry 1 }tcpConnectionLocalAddress OBJECT-TYPE    SYNTAX     InetAddress    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The local IP address for this TCP connection.  The type            of this address is determined by the value of            tcpConnectionLocalAddressType.            As this object is used in the index for the            tcpConnectionTable, implementors should be            careful not to create entries that would result in OIDs            with more than 128 subidentifiers; otherwise the information            cannot be accessed by using SNMPv1, SNMPv2c, or SNMPv3."    ::= { tcpConnectionEntry 2 }tcpConnectionLocalPort OBJECT-TYPE    SYNTAX     InetPortNumber    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The local port number for this TCP connection."    ::= { tcpConnectionEntry 3 }tcpConnectionRemAddressType OBJECT-TYPE    SYNTAX     InetAddressType    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The address type of tcpConnectionRemAddress."    ::= { tcpConnectionEntry 4 }tcpConnectionRemAddress OBJECT-TYPE    SYNTAX     InetAddress    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The remote IP address for this TCP connection.  The type            of this address is determined by the value of            tcpConnectionRemAddressType.            As this object is used in the index for the            tcpConnectionTable, implementors should be            careful not to create entries that would result in OIDs            with more than 128 subidentifiers; otherwise the information            cannot be accessed by using SNMPv1, SNMPv2c, or SNMPv3."    ::= { tcpConnectionEntry 5 }tcpConnectionRemPort OBJECT-TYPE    SYNTAX     InetPortNumber    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The remote port number for this TCP connection."    ::= { tcpConnectionEntry 6 }tcpConnectionState OBJECT-TYPE    SYNTAX     INTEGER {                    closed(1),                    listen(2),                    synSent(3),                    synReceived(4),                    established(5),                    finWait1(6),                    finWait2(7),                    closeWait(8),                    lastAck(9),                    closing(10),                    timeWait(11),                    deleteTCB(12)                }    MAX-ACCESS read-write    STATUS     current    DESCRIPTION           "The state of this TCP connection.            The value listen(2) is included only for parallelism to the            old tcpConnTable and should not be used.  A connection in            LISTEN state should be present in the tcpListenerTable.            The only value that may be set by a management station is            deleteTCB(12).  Accordingly, it is appropriate for an agent            to return a `badValue' response if a management station            attempts to set this object to any other value.

⌨️ 快捷键说明

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