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

📄 udp-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 2 页
字号:
UDP-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE, Integer32, Counter32, Counter64,    Unsigned32, IpAddress, mib-2       FROM SNMPv2-SMI    MODULE-COMPLIANCE, OBJECT-GROUP    FROM SNMPv2-CONF    InetAddress, InetAddressType,    InetPortNumber                     FROM INET-ADDRESS-MIB;udpMIB MODULE-IDENTITY    LAST-UPDATED "200505200000Z"  -- May 20, 2005    ORGANIZATION           "IETF IPv6 Working Group            http://www.ietf.org/html.charters/ipv6-charter.html"    CONTACT-INFO           "Bill Fenner (editor)            AT&T Labs -- Research            75 Willow Rd.            Menlo Park, CA 94025            Phone: +1 650 330-7893            Email: <fenner@research.att.com>            John Flick (editor)            Hewlett-Packard Company            8000 Foothills Blvd. M/S 5557            Roseville, CA 95747            Phone: +1 916 785 4018            Email: <john.flick@hp.com>            Send comments to <ipv6@ietf.org>"    DESCRIPTION           "The MIB module for managing UDP implementations.            Copyright (C) The Internet Society (2005).  This            version of this MIB module is part of RFC 4113;            see the RFC itself for full legal notices."    REVISION      "200505200000Z"  -- May 20, 2005    DESCRIPTION           "IP version neutral revision, incorporating the            following revisions:            - Added udpHCInDatagrams and udpHCOutDatagrams in order              to provide high-capacity counters for fast networks.            - Added text to the descriptions of all counter objects              to indicate how discontinuities are detected.            - Deprecated the IPv4-specific udpTable and replaced it              with the version neutral udpEndpointTable.  This              table includes support for connected UDP endpoints              and support for identification of the operating              system process associated with a UDP endpoint.            - Deprecated the udpGroup and replaced it with object              groups representing the current set of objects.            - Deprecated udpMIBCompliance and replaced it with              udpMIBCompliance2, which includes the compliance              information for the new object groups.            This version published as RFC 4113."    REVISION      "199411010000Z"    -- November 1, 1994    DESCRIPTION           "Initial SMIv2 version, published as RFC 2013."    REVISION      "199103310000Z"    -- March 31, 1991    DESCRIPTION           "The initial revision of this MIB module was part of            MIB-II, published as RFC 1213."    ::= { mib-2 50 }-- the UDP groupudp      OBJECT IDENTIFIER ::= { mib-2 7 }udpInDatagrams OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of UDP datagrams delivered to UDP            users.            Discontinuities in the value of this counter can occur            at re-initialization of the management system, and at            other times as indicated by discontinuities in the            value of sysUpTime."    ::= { udp 1 }udpNoPorts OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of received UDP datagrams for which            there was no application at the destination port.            Discontinuities in the value of this counter can occur            at re-initialization of the management system, and at            other times as indicated by discontinuities in the            value of sysUpTime."    ::= { udp 2 }udpInErrors OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The number of received UDP datagrams that could not be            delivered for reasons other than the lack of an            application at the destination port.            Discontinuities in the value of this counter can occur            at re-initialization of the management system, and at            other times as indicated by discontinuities in the            value of sysUpTime."    ::= { udp 3 }udpOutDatagrams OBJECT-TYPE    SYNTAX     Counter32    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of UDP datagrams sent from this            entity.            Discontinuities in the value of this counter can occur            at re-initialization of the management system, and at            other times as indicated by discontinuities in the            value of sysUpTime."    ::= { udp 4 }udpHCInDatagrams OBJECT-TYPE    SYNTAX     Counter64    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of UDP datagrams delivered to UDP            users, for devices that can receive more than 1            million UDP datagrams per second.            Discontinuities in the value of this counter can occur            at re-initialization of the management system, and at            other times as indicated by discontinuities in the            value of sysUpTime."    ::= { udp 8 }udpHCOutDatagrams OBJECT-TYPE    SYNTAX     Counter64    MAX-ACCESS read-only    STATUS     current    DESCRIPTION           "The total number of UDP datagrams sent from this            entity, for devices that can transmit more than 1            million UDP datagrams per second.            Discontinuities in the value of this counter can occur            at re-initialization of the management system, and at            other times as indicated by discontinuities in the            value of sysUpTime."    ::= { udp 9 }---- { udp 6 } was defined as the ipv6UdpTable in RFC2454's-- IPV6-UDP-MIB.  This RFC obsoletes RFC 2454, so { udp 6 } is-- obsoleted.---- The UDP "Endpoint" table.udpEndpointTable OBJECT-TYPE    SYNTAX     SEQUENCE OF UdpEndpointEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "A table containing information about this entity's UDP            endpoints on which a local application is currently            accepting or sending datagrams.            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).            Unlike the udpTable in RFC 2013, this table also allows            the representation of an application that completely            specifies both local and remote addresses and ports.  A            listening application is represented in three possible            ways:            1) An application that is willing to accept both IPv4               and IPv6 datagrams is represented by a               udpEndpointLocalAddressType of unknown(0) and a               udpEndpointLocalAddress of ''h (a zero-length               octet-string).            2) An application that is willing to accept only IPv4               or only IPv6 datagrams is represented by a               udpEndpointLocalAddressType of the appropriate               address type and a udpEndpointLocalAddress of               '0.0.0.0' or '::' respectively.            3) An application that is listening for datagrams only               for a specific IP address but from any remote               system is represented by a               udpEndpointLocalAddressType of the appropriate               address type, with udpEndpointLocalAddress               specifying the local address.            In all cases where the remote is a wildcard, the            udpEndpointRemoteAddressType is unknown(0), the            udpEndpointRemoteAddress is ''h (a zero-length            octet-string), and the udpEndpointRemotePort is 0.            If the operating system is demultiplexing UDP packets            by remote address and port, or if the application has            'connected' the socket specifying a default remote            address and port, the udpEndpointRemote* values should            be used to reflect this."    ::= { udp 7 }udpEndpointEntry OBJECT-TYPE    SYNTAX     UdpEndpointEntry    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "Information about a particular current UDP endpoint.            Implementers need to be aware that if the total number            of elements (octets or sub-identifiers) in            udpEndpointLocalAddress and udpEndpointRemoteAddress            exceeds 111, then OIDs of column instances in this table            will have more than 128 sub-identifiers and cannot be            accessed using SNMPv1, SNMPv2c, or SNMPv3."    INDEX   { udpEndpointLocalAddressType,              udpEndpointLocalAddress,              udpEndpointLocalPort,              udpEndpointRemoteAddressType,              udpEndpointRemoteAddress,              udpEndpointRemotePort,              udpEndpointInstance }    ::= { udpEndpointTable 1 }UdpEndpointEntry ::= SEQUENCE {        udpEndpointLocalAddressType   InetAddressType,        udpEndpointLocalAddress       InetAddress,        udpEndpointLocalPort          InetPortNumber,        udpEndpointRemoteAddressType  InetAddressType,        udpEndpointRemoteAddress      InetAddress,        udpEndpointRemotePort         InetPortNumber,        udpEndpointInstance           Unsigned32,        udpEndpointProcess            Unsigned32    }udpEndpointLocalAddressType OBJECT-TYPE    SYNTAX     InetAddressType    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The address type of udpEndpointLocalAddress.  Only            IPv4, IPv4z, IPv6, and IPv6z addresses are expected, or            unknown(0) if datagrams for all local IP addresses are            accepted."    ::= { udpEndpointEntry 1 }udpEndpointLocalAddress OBJECT-TYPE    SYNTAX     InetAddress    MAX-ACCESS not-accessible    STATUS     current    DESCRIPTION           "The local IP address for this UDP endpoint.            The value of this object can be represented in three            possible ways, depending on the characteristics of the            listening application:

⌨️ 快捷键说明

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