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

📄 tcp-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 2 页
字号:
            If a management station sets this object to the value            deleteTCB(12), then the TCB (as defined in [RFC793]) of            the corresponding connection on the managed node is            deleted, resulting in immediate termination of the            connection.            As an implementation-specific option, a RST segment may be            sent from the managed node to the other TCP endpoint (note,            however, that RST segments are not sent reliably)."    ::= { tcpConnectionEntry 7 }tcpConnectionProcess OBJECT-TYPE    SYNTAX     Unsigned32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The system's process ID for the process associated with            this connection, or zero if there is no such process.  This            value is expected to be the same as HOST-RESOURCES-MIB::            hrSWRunIndex or SYSAPPL-MIB::sysApplElmtRunIndex for some            row in the appropriate tables."    ::= { tcpConnectionEntry 8 }-- The TCP Listener tabletcpListenerTable OBJECT-TYPE    SYNTAX     SEQUENCE OF TcpListenerEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "A table containing information about TCP listeners.  A            listening application can be represented in three            possible ways:            1. An application that is willing to accept both IPv4 and               IPv6 datagrams is represented by               a tcpListenerLocalAddressType of unknown (0) and               a tcpListenerLocalAddress of ''h (a zero-length               octet-string).            2. An application that is willing to accept only IPv4 or               IPv6 datagrams is represented by a               tcpListenerLocalAddressType of the appropriate address               type and a tcpListenerLocalAddress of '0.0.0.0' or '::'               respectively.            3. An application that is listening for data destined               only to a specific IP address, but from any remote               system, is represented by a tcpListenerLocalAddressType               of an appropriate address type, with               tcpListenerLocalAddress as the specific local address.            NOTE: The address type in this table represents the            address type used for the communication, irrespective            of the higher-layer abstraction.  For example, an            application using IPv6 'sockets' to communicate via            IPv4 between ::ffff:10.0.0.1 and ::ffff:10.0.0.2 would            use InetAddressType ipv4(1))."    ::= { tcp 20 }tcpListenerEntry OBJECT-TYPE    SYNTAX     TcpListenerEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "A conceptual row of the tcpListenerTable containing            information about a particular TCP listener."    INDEX   { tcpListenerLocalAddressType,              tcpListenerLocalAddress,              tcpListenerLocalPort }    ::= { tcpListenerTable 1 }TcpListenerEntry ::= SEQUENCE {        tcpListenerLocalAddressType       InetAddressType,        tcpListenerLocalAddress           InetAddress,        tcpListenerLocalPort              InetPortNumber,        tcpListenerProcess                Unsigned32    }tcpListenerLocalAddressType OBJECT-TYPE    SYNTAX     InetAddressType    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The address type of tcpListenerLocalAddress.  The value            should be unknown (0) if connection initiations to all            local IP addresses are accepted."    ::= { tcpListenerEntry 1 }tcpListenerLocalAddress OBJECT-TYPE    SYNTAX     InetAddress    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The local IP address for this TCP connection.            The value of this object can be represented in three            possible ways, depending on the characteristics of the            listening application:            1. For an application willing to accept both IPv4 and               IPv6 datagrams, the value of this object must be               ''h (a zero-length octet-string), with the value               of the corresponding tcpListenerLocalAddressType               object being unknown (0).            2. For an application willing to accept only IPv4 or               IPv6 datagrams, the value of this object must be               '0.0.0.0' or '::' respectively, with               tcpListenerLocalAddressType representing the               appropriate address type.            3. For an application which is listening for data               destined only to a specific IP address, the value               of this object is the specific local address, with               tcpListenerLocalAddressType representing the               appropriate address type.            As this object is used in the index for the            tcpListenerTable, implementors should be            careful not to create entries that would result in OIDs            with more than 128 subidentifiers; otherwise the information            cannot be accessed, using SNMPv1, SNMPv2c, or SNMPv3."    ::= { tcpListenerEntry 2 }tcpListenerLocalPort OBJECT-TYPE    SYNTAX     InetPortNumber    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The local port number for this TCP connection."    ::= { tcpListenerEntry 3 }tcpListenerProcess OBJECT-TYPE    SYNTAX     Unsigned32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The system's process ID for the process associated with            this listener, or zero if there is no such process.  This            value is expected to be the same as HOST-RESOURCES-MIB::            hrSWRunIndex or SYSAPPL-MIB::sysApplElmtRunIndex for some            row in the appropriate tables."    ::= { tcpListenerEntry 4 }-- The deprecated TCP Connection tabletcpConnTable OBJECT-TYPE    SYNTAX     SEQUENCE OF TcpConnEntry    MAX-ACCESS not-accessible    STATUS     deprecated    DESCRIPTION           "A table containing information about existing IPv4-specific            TCP connections or listeners.  This table has been            deprecated in favor of the version neutral            tcpConnectionTable."    ::= { tcp 13 }tcpConnEntry OBJECT-TYPE    SYNTAX     TcpConnEntry    MAX-ACCESS not-accessible    STATUS     deprecated    DESCRIPTION           "A conceptual row of the tcpConnTable containing information            about a particular current IPv4 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   { tcpConnLocalAddress,              tcpConnLocalPort,              tcpConnRemAddress,              tcpConnRemPort }    ::= { tcpConnTable 1 }TcpConnEntry ::= SEQUENCE {        tcpConnState         INTEGER,        tcpConnLocalAddress  IpAddress,        tcpConnLocalPort     Integer32,        tcpConnRemAddress    IpAddress,        tcpConnRemPort       Integer32    }tcpConnState 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     deprecated    DESCRIPTION           "The state of this TCP connection.            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.            If a management station sets this object to the value            deleteTCB(12), then the TCB (as defined in [RFC793]) of            the corresponding connection on the managed node is            deleted, resulting in immediate termination of the            connection.            As an implementation-specific option, a RST segment may be            sent from the managed node to the other TCP endpoint (note,            however, that RST segments are not sent reliably)."    ::= { tcpConnEntry 1 }tcpConnLocalAddress OBJECT-TYPE    SYNTAX     IpAddress    MAX-ACCESS read-only    STATUS     deprecated    DESCRIPTION           "The local IP address for this TCP connection.  In the case            of a connection in the listen state willing to            accept connections for any IP interface associated with the            node, the value 0.0.0.0 is used."    ::= { tcpConnEntry 2 }tcpConnLocalPort OBJECT-TYPE    SYNTAX     Integer32 (0..65535)    MAX-ACCESS read-only    STATUS     deprecated    DESCRIPTION           "The local port number for this TCP connection."    ::= { tcpConnEntry 3 }tcpConnRemAddress OBJECT-TYPE    SYNTAX     IpAddress    MAX-ACCESS read-only    STATUS     deprecated    DESCRIPTION           "The remote IP address for this TCP connection."    ::= { tcpConnEntry 4 }tcpConnRemPort OBJECT-TYPE    SYNTAX     Integer32 (0..65535)    MAX-ACCESS read-only    STATUS     deprecated    DESCRIPTION           "The remote port number for this TCP connection."    ::= { tcpConnEntry 5 }-- conformance informationtcpMIBConformance OBJECT IDENTIFIER ::= { tcpMIB 2 }tcpMIBCompliances OBJECT IDENTIFIER ::= { tcpMIBConformance 1 }tcpMIBGroups      OBJECT IDENTIFIER ::= { tcpMIBConformance 2 }-- compliance statementstcpMIBCompliance2 MODULE-COMPLIANCE    STATUS     current    DESCRIPTION           "The compliance statement for systems that implement TCP.            A number of INDEX objects cannot be            represented in the form of OBJECT clauses in SMIv2 but            have the following compliance requirements,            expressed in OBJECT clause form in this description            clause:            -- OBJECT      tcpConnectionLocalAddressType            -- SYNTAX      InetAddressType { ipv4(1), ipv6(2) }            -- DESCRIPTION            --     This MIB requires support for only global IPv4            --     and IPv6 address types.            --            -- OBJECT      tcpConnectionRemAddressType            -- SYNTAX      InetAddressType { ipv4(1), ipv6(2) }            -- DESCRIPTION            --     This MIB requires support for only global IPv4            --     and IPv6 address types.            --            -- OBJECT      tcpListenerLocalAddressType            -- SYNTAX      InetAddressType { unknown(0), ipv4(1),            --                               ipv6(2) }            -- DESCRIPTION            --     This MIB requires support for only global IPv4            --     and IPv6 address types.  The type unknown also            --     needs to be supported to identify a special            --     case in the listener table: a listen using            --     both IPv4 and IPv6 addresses on the device.            --           "    MODULE  -- this module        MANDATORY-GROUPS { tcpBaseGroup, tcpConnectionGroup,                           tcpListenerGroup }        GROUP       tcpHCGroup        DESCRIPTION           "This group is mandatory for systems that are capable            of receiving or transmitting more than 1 million TCP            segments per second.  1 million segments per second will            cause a Counter32 to wrap in just over an hour."        OBJECT      tcpConnectionState        SYNTAX      INTEGER { closed(1), listen(2), synSent(3),                              synReceived(4), established(5),                              finWait1(6), finWait2(7), closeWait(8),                              lastAck(9), closing(10), timeWait(11) }        MIN-ACCESS  read-only        DESCRIPTION           "Write access is not required, nor is support for the value            deleteTCB (12)."    ::= { tcpMIBCompliances 2 }tcpMIBCompliance MODULE-COMPLIANCE    STATUS     deprecated    DESCRIPTION           "The compliance statement for IPv4-only systems that            implement TCP.  In order to be IP version independent, this            compliance statement is deprecated in favor of            tcpMIBCompliance2.  However, agents are still encouraged            to implement these objects in order to interoperate with            the deployed base of managers."    MODULE  -- this module        MANDATORY-GROUPS { tcpGroup }        OBJECT      tcpConnState        MIN-ACCESS  read-only        DESCRIPTION           "Write access is not required."    ::= { tcpMIBCompliances 1 }-- units of conformancetcpGroup OBJECT-GROUP    OBJECTS   { tcpRtoAlgorithm, tcpRtoMin, tcpRtoMax,                tcpMaxConn, tcpActiveOpens,                tcpPassiveOpens, tcpAttemptFails,                tcpEstabResets, tcpCurrEstab, tcpInSegs,                tcpOutSegs, tcpRetransSegs, tcpConnState,                tcpConnLocalAddress, tcpConnLocalPort,                tcpConnRemAddress, tcpConnRemPort,                tcpInErrs, tcpOutRsts }    STATUS     deprecated    DESCRIPTION           "The tcp group of objects providing for management of TCP            entities."    ::= { tcpMIBGroups 1 }tcpBaseGroup OBJECT-GROUP    OBJECTS   { tcpRtoAlgorithm, tcpRtoMin, tcpRtoMax,                tcpMaxConn, tcpActiveOpens,                tcpPassiveOpens, tcpAttemptFails,                tcpEstabResets, tcpCurrEstab, tcpInSegs,                tcpOutSegs, tcpRetransSegs,                tcpInErrs, tcpOutRsts }    STATUS     current    DESCRIPTION           "The group of counters common to TCP entities."    ::= { tcpMIBGroups 2 }tcpConnectionGroup OBJECT-GROUP    OBJECTS    { tcpConnectionState, tcpConnectionProcess }    STATUS     current    DESCRIPTION           "The group provides general information about TCP            connections."    ::= { tcpMIBGroups 3 }tcpListenerGroup OBJECT-GROUP    OBJECTS    { tcpListenerProcess }    STATUS     current    DESCRIPTION           "This group has objects providing general information about            TCP listeners."    ::= { tcpMIBGroups 4 }tcpHCGroup OBJECT-GROUP    OBJECTS    { tcpHCInSegs, tcpHCOutSegs }    STATUS     current    DESCRIPTION           "The group of objects providing for counters of high speed            TCP implementations."    ::= { tcpMIBGroups 5 }END

⌨️ 快捷键说明

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