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

📄 application-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
-- ****************************************************************applOpenFileTable  OBJECT-TYPE        SYNTAX     SEQUENCE OF ApplOpenFileEntry        MAX-ACCESS not-accessible        STATUS     current        DESCRIPTION           "The applOpenFileTable reports information on open files            for service instances or application elements.  This            table is indexed by applElmtOrSvc and applElmtOrSvcId,            effectively grouping all entries for a given running            service instance or application element together, and            by applOpenChannelIndex, uniquely identifying an open            channel (and, consequently, a file) within the context            of a particular service instance or application element.            Elements in this table correspond to elements in the            applOpenChannelTable that represent files.  For rows in            the applOpenChannelTable that do not represent files,            corresponding rows in this table will not exist."        ::= { applChannelGroup 2 }applOpenFileEntry   OBJECT-TYPE        SYNTAX      ApplOpenFileEntry        MAX-ACCESS  not-accessible        STATUS      current        DESCRIPTION           "An applOpenFileEntry indicates that a file has been            opened by this running application element and is            still open.  Note that if a file has been opened            multiple times, even by the same process, it will have            multiple entries."        INDEX       { applElmtOrSvc, applElmtOrSvcId,                      applOpenChannelIndex }        ::= { applOpenFileTable 1 }ApplOpenFileEntry  ::= SEQUENCE        {                applOpenFileName                LongUtf8String,                applOpenFileSizeHigh            Unsigned32,                applOpenFileSizeLow             Unsigned32,                applOpenFileMode                INTEGER         }applOpenFileName   OBJECT-TYPE        SYNTAX     LongUtf8String        MAX-ACCESS read-only        STATUS     current        DESCRIPTION          "This attribute reports the name of this open file.           Wherever practical, a fully qualified path name should           be reported.           The values 'stdin', 'stdout', and 'stderr' are reserved           in accordance with common usage when the fully qualified           path name cannot be determined."        ::= { applOpenFileEntry 1 }applOpenFileSizeHigh OBJECT-TYPE        SYNTAX       Unsigned32        UNITS        "2^32 byte blocks"        MAX-ACCESS   read-only        STATUS       current        DESCRIPTION          "This file's current size in 2^32 byte blocks.           For example, for a file with a total size of 4,294,967,296           bytes, this attribute would have a value of 1; for a file           with a total size of 4,294,967,295 bytes this attribute's           value would be 0."        ::= { applOpenFileEntry 2 }applOpenFileSizeLow OBJECT-TYPE        SYNTAX      Unsigned32        UNITS       "bytes"        MAX-ACCESS  read-only        STATUS      current        DESCRIPTION           "This file's current size modulo 2^32 bytes.            For example, for a file with a total size of            4,294,967,296 bytes this attribute would have a value            of 0; for a file with a total size of 4,294,967,295            bytes this attribute's value would be 4,294,967,295."        ::= { applOpenFileEntry 3 }applOpenFileMode   OBJECT-TYPE        SYNTAX     INTEGER { read(1),                             write(2),                             readWrite(3) }        MAX-ACCESS read-only        STATUS     current        DESCRIPTION           "This attribute reports the current mode of this file from            the perspective of this running application element.            These values have the following meanings:                read(1) - file opened for reading only                write(2) - file opened for writing only                readWrite(3) - file opened for read and write.            These values correspond to the POSIX/ANSI C library            function fopen() 'type' parameter, using the following            mappings:                r -> read(1)                w -> write(2)                a -> write(2)                + -> readWrite(3)          "        ::= { applOpenFileEntry 4 }-- ****************************************************************----      applOpenConnectionTable - Open Connection Table---- ****************************************************************applOpenConnectionTable OBJECT-TYPE        SYNTAX          SEQUENCE OF ApplOpenConnectionEntry        MAX-ACCESS      not-accessible        STATUS          current        DESCRIPTION           "The applOpenConnectionTable provides information about            open and listening connections from the perspective            of a running application element or service instance.            Entries in this table are indexed by applElmtOrSvc,            applElmtOrSvcID, and by applOpenChannelIndex, which            serves to uniquely identify each connection in the            context of a service instance or running application            element.            For each row in this table, a corresponding row will            exist in the applOpenChannel table.  For rows in the            applOpenChannelTable which do not represent open or            listening connections, no corresponding rows will exist            in this table."        ::= { applChannelGroup 3 }applOpenConnectionEntry OBJECT-TYPE        SYNTAX          ApplOpenConnectionEntry        MAX-ACCESS      not-accessible        STATUS          current        DESCRIPTION           "An applOpenConnectionEntry indicates that a running            application element or service instance has an open            connection.  The entry has information describing that            connection.            In the case of a TCP transport, the element            applOpenConnectionNearEndAddr and that row's            applOpenConnectionFarEndAddr would correspond            to a tcpConnEntry.  For a UDP transport, a            similar relationship exists with respect to            a udpEntry."        INDEX           { applElmtOrSvc, applElmtOrSvcId,                          applOpenChannelIndex }        ::= { applOpenConnectionTable 1 }ApplOpenConnectionEntry  ::= SEQUENCE        {                applOpenConnectionTransport     TDomain,                applOpenConnectionNearEndAddr   ApplTAddress,                applOpenConnectionNearEndpoint  SnmpAdminString,                applOpenConnectionFarEndAddr    ApplTAddress,                applOpenConnectionFarEndpoint   SnmpAdminString,                applOpenConnectionApplication   SnmpAdminString        }applOpenConnectionTransport OBJECT-TYPE        SYNTAX              TDomain        MAX-ACCESS          read-only        STATUS              current        DESCRIPTION           "The applOpenConnectionTransport attribute identifies the            transport protocol in use for this connection.  If it is            not practical to determine the underlying transport, this            attribute's value shall have a value of {0 0}."        DEFVAL { zeroDotZero }        ::= { applOpenConnectionEntry 1 }applOpenConnectionNearEndAddr OBJECT-TYPE        SYNTAX                ApplTAddress        MAX-ACCESS            read-only        STATUS                current        DESCRIPTION           "The applOpenConnectionNearEndAddr attribute reports the            transport address and port information for the near end            of this connection.            If the value is not known, the value has a  length            of zero."        DEFVAL { "" }        ::= { applOpenConnectionEntry 2 }applOpenConnectionNearEndpoint OBJECT-TYPE        SYNTAX                 SnmpAdminString        MAX-ACCESS             read-only        STATUS                 current        DESCRIPTION           "The applOpenConnectionNearEndpoint attribute reports the            fully-qualified domain name and port information for the            near end of this connection.            The format of this attribute for TCP and UDP-based            protocols is the fully-qualified domain name immediately            followed by a colon which is immediately followed by            the decimal representation of the port number.            If the value is not known, the value has a  length            of zero."        DEFVAL { "" }        ::= { applOpenConnectionEntry 3 }applOpenConnectionFarEndAddr OBJECT-TYPE        SYNTAX               ApplTAddress        MAX-ACCESS           read-only        STATUS               current        DESCRIPTION           "The applOpenConnectionFarEndAddr attribute reports the            transport address and port information for the far end            of this connection.            If not known, as in the case of a connectionless            transport, the value of this attribute shall be a            zero-length string."        DEFVAL { "" }        ::= { applOpenConnectionEntry 4 }applOpenConnectionFarEndpoint OBJECT-TYPE        SYNTAX               SnmpAdminString        MAX-ACCESS           read-only        STATUS               current        DESCRIPTION           "The applOpenConnectionFarEndpoint attribute reports            the fully-qualified domain name and port information            for the far end of this connection.            The format of this attribute for TCP and UDP-based            protocols is the fully-qualified domain name immediately            followed by a colon which is immediately followed by            the decimal representation of the port number.            If not known, as in the case of a connectionless            transport, the value of this attribute shall be a            zero-length string."        DEFVAL { "" }        ::= { applOpenConnectionEntry 5 }applOpenConnectionApplication OBJECT-TYPE        SYNTAX                SnmpAdminString        MAX-ACCESS            read-only        STATUS                current        DESCRIPTION           "The applOpenConnectionApplication attribute identifies            the application layer protocol in use.  If not known,            the value of this attribute shall be a zero-length            string.            When possible, protocol names should be those used in            the 'ASSIGNED NUMBERS' [13].  For example, an SMTP mail            server would use 'SMTP'."        DEFVAL { "" }        ::= { applOpenConnectionEntry 6 }-- ****************************************************************----      applTransactionStreamTable - common--      information for transaction stream monitoring---- ****************************************************************applTransactionStreamTable OBJECT-TYPE        SYNTAX             SEQUENCE OF ApplTransactionStreamEntry        MAX-ACCESS         not-accessible        STATUS             current        DESCRIPTION           "The applTransactionStreamTable contains common            information for transaction statistic accumulation."        ::= { applChannelGroup 4 }applTransactionStreamEntry OBJECT-TYPE        SYNTAX             ApplTransactionStreamEntry        MAX-ACCESS         not-accessible        STATUS             current        DESCRIPTION           "An applTransactionStreamEntry contains information for            a single transaction stream.  A transaction stream            can be a network connection, file, or other source            of transactions."        INDEX           { applElmtOrSvc, applElmtOrSvcId,                          applOpenChannelIndex }        ::= { applTransactionStreamTable 1 }ApplTransactionStreamEntry ::= SEQUENCE {        applTransactStreamDescr       SnmpAdminString,        applTransactStreamUnitOfWork  SnmpAdminString,        applTransactStreamInvokes     Counter64,        applTransactStreamInvokesLow  Counter32,        applTransactStreamInvCumTimes Counter32,        applTransactStreamInvRspTimes Counter32,        applTransactStreamPerforms    Counter64,        applTransactStreamPerformsLow Counter32,        applTransactStreamPrfCumTimes Counter32,        applTransactStreamPrfRspTimes Counter32 }applTransactStreamDescr OBJECT-TYPE        SYNTAX          SnmpAdminString        MAX-ACCESS      read-only        STATUS          current        DESCRIPTION           "The applTransactStreamDescr attribute provides a            human-readable description of this transaction stream.            If no descriptive information is available, this            attribute's value shall be a zero-length string."        DEFVAL { "" }        ::= { applTransactionStreamEntry 1 }applTransactStreamUnitOfWork OBJECT-TYPE        SYNTAX               SnmpAdminString        MAX-ACCESS           read-only        STATUS               current        DESCRIPTION

⌨️ 快捷键说明

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