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

📄 application-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
--      Channels are realized as files or connections.--      The information flowing on a channel can always be--      measured in terms of a byte stream.  Furthermore, for many--      channels, this information may also be measured in terms--      of transactions.----      For all of these tables, the first two indexes determines--      whether what is being measured is for a single running--      application element or for an instance of a service.----      The second index identifies the running application element--      or service instance.----      The third index is the channel id, which uniquely identifies--      a channel within the context of a running application element--      or service instance.----      Any remaining indexes are table-specific.---- ****************************************************************-- ****************************************************************----      applOpenChannelTable - Table of Open Channels---- ****************************************************************applOpenChannelTable OBJECT-TYPE        SYNTAX       SEQUENCE OF ApplOpenChannelEntry        MAX-ACCESS   not-accessible        STATUS       current        DESCRIPTION           "The applOpenChannelTable reports information on open            channels for running application elements            and for service instances.  This table is            indexed by applElmtOrSvc, applElmtOrSvcId, and            applOpenChannelIndex. This effectively groups all            entries for a given running application element            or service instance together.  ApplChannelIndex uniquely            identifies an open channel (and, consequently, a file            or connection) within the context of a particular            running application element or service instance.            Some of the information in this table is available            through both sixty-four and thirty-two bit counters.            The sixty-four bit counters are not accessible in            protocols that do not support this data type."        ::= { applChannelGroup 1 }applOpenChannelEntry OBJECT-TYPE        SYNTAX       ApplOpenChannelEntry        MAX-ACCESS   not-accessible        STATUS       current        DESCRIPTION           "An applOpenChannelEntry indicates that a channel has been            opened by this running application element or service            instance and is still open.  Note that if a file has been            opened multiple times, even by the same process, it will            have multiple channel entries."        INDEX           { applElmtOrSvc, applElmtOrSvcId,                          applOpenChannelIndex }        ::= { applOpenChannelTable 1 }ApplOpenChannelEntry  ::= SEQUENCE        {                applElmtOrSvc                      INTEGER,                applElmtOrSvcId                    Unsigned32,                applOpenChannelIndex               Unsigned32,                applOpenChannelOpenTime            TimeStamp,                applOpenChannelReadRequests        Counter64,                applOpenChannelReadRequestsLow     Counter32,                applOpenChannelReadFailures        Counter32,                applOpenChannelBytesRead           Counter64,                applOpenChannelBytesReadLow        Counter32,                applOpenChannelLastReadTime        DateAndTime,                applOpenChannelWriteRequests       Counter64,                applOpenChannelWriteRequestsLow    Counter32,                applOpenChannelWriteFailures       Counter32,                applOpenChannelBytesWritten        Counter64,                applOpenChannelBytesWrittenLow     Counter32,                applOpenChannelLastWriteTime       DateAndTime        }applElmtOrSvc      OBJECT-TYPE        SYNTAX     INTEGER { service(1),                             element(2) }        MAX-ACCESS not-accessible        STATUS     current        DESCRIPTION           "The applElmtOrSvc attribute serves as an index for tables            that can hold information both for individual running            application elements as well as for service instances.            If the value is service(1), the row contains information            gathered at the level of a service.            If the value is element(2), the row contains information            for an individual running application element."        ::= { applOpenChannelEntry 1 }applElmtOrSvcId    OBJECT-TYPE        SYNTAX     Unsigned32 (1..'ffffffff'h)        MAX-ACCESS not-accessible        STATUS     current        DESCRIPTION           "The applElmtOrSvcId attribute is used as an index in            conjunction with the applElmtOrSvc attribute.            When the value of applElmtOrSvc is service(1), this            attribute's value corresponds to that of applSrvIndex,            when the value of applElmtOrSvc is element(2), this            attribute's value corresponds to sysApplElmtRunIndex."        ::= { applOpenChannelEntry 2 }applOpenChannelIndex OBJECT-TYPE        SYNTAX       Unsigned32        MAX-ACCESS   not-accessible        STATUS       current        DESCRIPTION           "This attribute serves to uniquely identify this open            connection in the context of the running application            element or service instance.  Where suitable, the            application's native descriptor number should be used."        ::= { applOpenChannelEntry 3 }applOpenChannelOpenTime OBJECT-TYPE        SYNTAX          TimeStamp        MAX-ACCESS      read-only        STATUS          current        DESCRIPTION           "This attribute records the value of sysUpTime.0            when this channel was opened and this entry was added to            this table.  This attribute serves as a discontinuity            indicator for the counter attributes in this entry            and for any corresponding entries in the            applOpenConnectionTable, applOpenFileTable, and the            applTransactionStreamTable."        ::= { applOpenChannelEntry 4 }applOpenChannelReadRequests OBJECT-TYPE        SYNTAX              Counter64        UNITS               "read requests"        MAX-ACCESS          read-only        STATUS              current        DESCRIPTION           "This attribute reports the number of read requests            for this channel.  All read requests for this channel            by this entity, regardless of completion status, are            included in this count.            Read requests are counted in terms of system calls,            rather than API calls.            Discontinuities in this counter can be detected by            monitoring the applOpenChannelOpenTime value for this            entry."        ::= { applOpenChannelEntry 5 }applOpenChannelReadRequestsLow OBJECT-TYPE        SYNTAX                 Counter32        UNITS                  "read requests"        MAX-ACCESS             read-only        STATUS                 current        DESCRIPTION           "This attribute reports the low thirty-two bits of            applOpenChannelReadRequests.            Discontinuities in this counter can be detected by            monitoring the applOpenChannelOpenTime value for this            entry."        ::= { applOpenChannelEntry 6 }applOpenChannelReadFailures OBJECT-TYPE        SYNTAX              Counter32        UNITS               "failed read requests"        MAX-ACCESS          read-only        STATUS              current        DESCRIPTION           "This attribute reports the number of failed read            requests.            Discontinuities in this counter can be detected by            monitoring the applOpenChannelOpenTime value for this            entry."        ::= { applOpenChannelEntry 7 }applOpenChannelBytesRead OBJECT-TYPE        SYNTAX           Counter64        UNITS            "bytes"        MAX-ACCESS       read-only        STATUS           current        DESCRIPTION           "This attribute reports the number of bytes read from            this channel.  Only bytes successfully read are included            in this count.            Discontinuities in this counter can be detected by            monitoring the applOpenChannelOpenTime value for this            entry."        ::= { applOpenChannelEntry 8 }applOpenChannelBytesReadLow OBJECT-TYPE        SYNTAX              Counter32        UNITS               "bytes"        MAX-ACCESS          read-only        STATUS              current        DESCRIPTION           "This attribute corresponds to the low thirty-two bits            of applOpenChannelBytesRead.            Discontinuities in this counter can be detected by            monitoring the applOpenChannelOpenTime value for this            entry."        ::= { applOpenChannelEntry 9 }applOpenChannelLastReadTime OBJECT-TYPE        SYNTAX              DateAndTime        MAX-ACCESS          read-only        STATUS              current        DESCRIPTION           "This attribute reports the time of the most recent read            request made by this entity, regardless of completion            status, for this open channel.            If no read requests have been made the value of this            attribute shall be '0000000000000000'H "        DEFVAL { '0000000000000000'H }        ::= { applOpenChannelEntry 10 }applOpenChannelWriteRequests OBJECT-TYPE        SYNTAX               Counter64        UNITS                "write requests"        MAX-ACCESS           read-only        STATUS               current        DESCRIPTION           "This attribute reports the number of write requests for            this channel made by this entity.  All write requests            for this channel, regardless of completion status, are            included in this count.            Write requests are counted in terms of system calls,            rather than API calls.            Discontinuities in this counter can be detected by            monitoring the applOpenChannelOpenTime value for this            entry."        ::= { applOpenChannelEntry 11 }applOpenChannelWriteRequestsLow OBJECT-TYPE        SYNTAX                  Counter32        UNITS                   "write requests"        MAX-ACCESS              read-only        STATUS                  current        DESCRIPTION           "This attribute corresponds to the low thirty-two bits            of applOpenChannelWriteRequests.            Discontinuities in this counter can be detected            by monitoring the applOpenChannelOpenTime value for            this entry."        ::= { applOpenChannelEntry 12 }applOpenChannelWriteFailures OBJECT-TYPE        SYNTAX               Counter32        UNITS                "failed write requests"        MAX-ACCESS           read-only        STATUS               current        DESCRIPTION           "This attribute reports the number of failed write            requests.            Discontinuities in this counter can be detected            by monitoring the applOpenChannelOpenTime value for            this entry."        ::= { applOpenChannelEntry 13 }applOpenChannelBytesWritten OBJECT-TYPE        SYNTAX              Counter64        UNITS               "bytes"        MAX-ACCESS          read-only        STATUS              current        DESCRIPTION           "This attribute reports the number of bytes written to            this channel.  Only bytes successfully written (without            errors reported by the system to the API in use by the            application) are included in this count.            Discontinuities in this counter can be detected by            monitoring the applOpenChannelOpenTime value for this            entry."        ::= { applOpenChannelEntry 14 }applOpenChannelBytesWrittenLow OBJECT-TYPE        SYNTAX                 Counter32        UNITS                  "bytes"        MAX-ACCESS             read-only        STATUS                 current        DESCRIPTION           "This attribute corresponds to the low thirty-two bits            of applOpenChannelBytesWritten.            Discontinuities in this counter can be detected by            monitoring the applOpenChannelOpenTime value for this            entry."        ::= { applOpenChannelEntry 15 }applOpenChannelLastWriteTime OBJECT-TYPE        SYNTAX               DateAndTime        MAX-ACCESS           read-only        STATUS               current        DESCRIPTION           "This attribute reports the time of the most recent write            request made by this running application element or            service instance, regardless of completion status, for            this open channel.            If no write requests have been made, the value            of this attribute shall be '0000000000000000'H "        DEFVAL { '0000000000000000'H }        ::= { applOpenChannelEntry 16 }-- ****************************************************************----      applOpenFileTable - Table of Open Files--

⌨️ 快捷键说明

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