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

📄 www-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
    DESCRIPTION        "The date and time when the last byte of the last complete         request of this type was received by this WWW service. The         value SHALL be '0000000000000000'H if no request of this         type has been received yet."    ::= { wwwRequestInEntry 4 }wwwRequestOutTable OBJECT-TYPE    SYNTAX      SEQUENCE OF WwwRequestOutEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The table providing detailed statistics for requests         generated by the services on this system."    ::= { wwwProtocolStatistics 3 }wwwRequestOutEntry OBJECT-TYPE    SYNTAX      WwwRequestOutEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Request statistics for an individual service."    INDEX       { wwwServiceIndex, wwwRequestOutIndex }    ::= { wwwRequestOutTable 1 }WwwRequestOutEntry ::= SEQUENCE {    wwwRequestOutIndex          WwwRequestType,    wwwRequestOutRequests       Counter32,    wwwRequestOutBytes          Counter32,    wwwRequestOutLastTime       DateAndTime}wwwRequestOutIndex OBJECT-TYPE    SYNTAX      WwwRequestType    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The particular request type the statistics apply to."    ::= { wwwRequestOutEntry 1 }wwwRequestOutRequests OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of requests of this type generated by this         WWW service."    ::= { wwwRequestOutEntry 2 }wwwRequestOutBytes OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of content bytes per requests type generated         by this WWW service."    ::= { wwwRequestOutEntry 3 }wwwRequestOutLastTime OBJECT-TYPE    SYNTAX      DateAndTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The date and time when the first byte of the last request         of this type was send by this WWW service. The value SHALL         be '0000000000000000'H if no request of this type has been         send yet."    ::= { wwwRequestOutEntry 4 }-- The WWW response tables contain detailed information about-- responses sent or received by WWW services.wwwResponseInTable OBJECT-TYPE    SYNTAX      SEQUENCE OF WwwResponseInEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The table providing detailed statistics for responses         received by WWW services on this system."    ::= { wwwProtocolStatistics 4 }wwwResponseInEntry OBJECT-TYPE    SYNTAX      WwwResponseInEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Response statistics for an individual service."    INDEX       { wwwServiceIndex, wwwResponseInIndex }    ::= { wwwResponseInTable 1 }WwwResponseInEntry ::= SEQUENCE {    wwwResponseInIndex          WwwResponseType,    wwwResponseInResponses      Counter32,    wwwResponseInBytes          Counter32,    wwwResponseInLastTime       DateAndTime}wwwResponseInIndex OBJECT-TYPE    SYNTAX      WwwResponseType    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The particular response type the statistics apply to."    ::= { wwwResponseInEntry 1 }wwwResponseInResponses OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of responses of this type received by this         WWW service."    ::= { wwwResponseInEntry 2 }wwwResponseInBytes OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of content bytes per response type received         by this WWW service."    ::= { wwwResponseInEntry 3 }wwwResponseInLastTime OBJECT-TYPE    SYNTAX      DateAndTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The date and time when the last byte of the last complete         response of this type was received by this WWW service. The         value SHALL be '0000000000000000'H if no response of this         type has been received yet."    ::= { wwwResponseInEntry 4 }wwwResponseOutTable OBJECT-TYPE    SYNTAX      SEQUENCE OF WwwResponseOutEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The table providing detailed statistics for responses         generated by services on this system."    ::= { wwwProtocolStatistics 5 }wwwResponseOutEntry OBJECT-TYPE    SYNTAX      WwwResponseOutEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Response statistics for an individual service."    INDEX       { wwwServiceIndex, wwwResponseOutIndex }    ::= { wwwResponseOutTable 1 }WwwResponseOutEntry ::= SEQUENCE {    wwwResponseOutIndex         WwwResponseType,    wwwResponseOutResponses     Counter32,    wwwResponseOutBytes         Counter32,    wwwResponseOutLastTime      DateAndTime}wwwResponseOutIndex OBJECT-TYPE    SYNTAX      WwwResponseType    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The particular response type the statistics apply to."    ::= { wwwResponseOutEntry 1 }wwwResponseOutResponses OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of responses of this type generated by this         WWW service."    ::= { wwwResponseOutEntry 2 }wwwResponseOutBytes OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of content bytes per response type generated         by this WWW service."    ::= { wwwResponseOutEntry 3 }wwwResponseOutLastTime OBJECT-TYPE    SYNTAX      DateAndTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The date and time when the first byte of the last response of         this type was sent by this WWW service. The value SHALL be         '0000000000000000'H if response of this type has been send         yet."    ::= { wwwResponseOutEntry 4 }-- The WWW Document Statistics Group---- The WWW document statistics group contains statistics about-- document read attempts.wwwDocumentStatistics OBJECT IDENTIFIER ::= { wwwMIBObjects 3 }wwwDocCtrlTable OBJECT-TYPE    SYNTAX      SEQUENCE OF WwwDocCtrlEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A table which controls how the MIB implementation         collects and maintains document statistics."    ::= { wwwDocumentStatistics 1 }wwwDocCtrlEntry OBJECT-TYPE    SYNTAX      WwwDocCtrlEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An entry used to configure the wwwDocLastNTable,         the wwwDocBucketTable, the wwwDocAccessTopNTable,         and the wwwDocBytesTopNTable."    INDEX       { wwwServiceIndex }    ::= { wwwDocCtrlTable 1 }WwwDocCtrlEntry ::= SEQUENCE {    wwwDocCtrlLastNSize           Unsigned32,    wwwDocCtrlLastNLock           TimeTicks,    wwwDocCtrlBuckets             Unsigned32,    wwwDocCtrlBucketTimeInterval  TimeInterval,    wwwDocCtrlTopNSize            Unsigned32}wwwDocCtrlLastNSize OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The maximum number of entries in the wwwDocLastNTable."    DEFVAL { 25 }    ::= { wwwDocCtrlEntry 1 }wwwDocCtrlLastNLock OBJECT-TYPE    SYNTAX      TimeTicks    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "This object allows a manager to lock the wwwDocLastNTable         in order to retrieve the wwwDocLastNTable in a consistent         state. The agent is expected to take a snapshot of the         wwwDocLastNTable when it is locked and to continue updating         the real wwwDocLastNTable table so that recent information is         available as soon as the wwwDocLastNTable is unlocked again.         Setting this object to a value greater than 0 will lock         the table. The timer ticks backwards until it reaches 0.         The table unlocks automatically once the timer reaches 0         and the timer stops ticking.         A manager can increase the timer to request more time to         read the table. However, any attempt to decrease the timer         will fail with an inconsistentValue error. This rule ensures         that multiple managers can simultaneously lock and retrieve         the wwwDocLastNTable. Note that managers must cooperate in         using wwwDocCtrlLastNLock. In particular, a manager MUST not         keep the wwwDocLastNTable locked when it is not necessary to         finish a retrieval operation."    ::= { wwwDocCtrlEntry 2 }wwwDocCtrlBuckets OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The maximum number of buckets maintained by the agent         before the oldest bucket is deleted. The buckets are         used to populate the wwwDocAccessTopNTable and the         wwwDocBytesTopNTable. The time interval captured in         each bucket can be configured by setting the         wwwDocCtrlBucketTimeInterval object."    DEFVAL { 4 }        -- 4 buckets times 15 minutes = 1 hour    ::= { wwwDocCtrlEntry 3 }wwwDocCtrlBucketTimeInterval OBJECT-TYPE    SYNTAX      TimeInterval    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The time interval after which a new bucket is created.         Changing this object has no effect on existing buckets."    DEFVAL { 90000 }    -- 15 minutes (resolution .01 s)    ::= { wwwDocCtrlEntry 4 }wwwDocCtrlTopNSize OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The maximum number of entries shown in the         wwwDocAccessTopNTable and the wwwDocBytesTopNTable.         Changing this object has no effect on existing buckets."    DEFVAL { 25 }    ::= { wwwDocCtrlEntry 5 }wwwDocLastNTable OBJECT-TYPE    SYNTAX      SEQUENCE OF WwwDocLastNEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The table which logs the last N access attempts."    ::= { wwwDocumentStatistics 2 }wwwDocLastNEntry OBJECT-TYPE    SYNTAX      WwwDocLastNEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An entry which describes a recent access attempt."    INDEX       { wwwServiceIndex, wwwDocLastNIndex }    ::= { wwwDocLastNTable 1 }WwwDocLastNEntry ::= SEQUENCE {    wwwDocLastNIndex            Unsigned32,    wwwDocLastNName             WwwDocName,    wwwDocLastNTimeStamp        DateAndTime,    wwwDocLastNRequestType      WwwRequestType,    wwwDocLastNResponseType     WwwResponseType,    wwwDocLastNStatusMsg        Utf8String,    wwwDocLastNBytes            Unsigned32}wwwDocLastNIndex OBJECT-TYPE    SYNTAX      Unsigned32 (1..4294967295)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An arbitrary monotonically increasing integer number used         for indexing the wwwDocLastNTable. The first document         accessed appears in the table with this index value equal         to one. Each subsequent document is indexed with the next         sequential index value. The Nth document accessed will be         indexed by N. This table presents a sliding window of the         last wwwDocCtrlLastNSize documents accessed. Thus, entries         in this table will be indexed by N-wwwDocCtrlLastNSize         thru N if N > wwwDocCtrlLastNSize and 1 thru N if         N <= wwwDocCtrlLastNSize.         The wwwDocCtrlLastNLock attribute can be used to lock         this table to allow the manager to read its contents."    ::= { wwwDocLastNEntry 1 }wwwDocLastNName OBJECT-TYPE    SYNTAX      WwwDocName    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The name of the document for which access was attempted."    ::= { wwwDocLastNEntry 2 }wwwDocLastNTimeStamp OBJECT-TYPE    SYNTAX      DateAndTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The date and time of the last attempt to access this         document."    ::= { wwwDocLastNEntry 3 }wwwDocLastNRequestType OBJECT-TYPE    SYNTAX      WwwRequestType    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The protocol request type which was received by the         server when this document access was attempted."    ::= { wwwDocLastNEntry 4 }wwwDocLastNResponseType OBJECT-TYPE    SYNTAX      WwwResponseType    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The protocol response type which was sent to the client         as a result of this attempt to access a document. This         object contains the type of the primary response if         there were multiple responses to a single request."    ::= { wwwDocLastNEntry 5 }wwwDocLastNStatusMsg OBJECT-TYPE    SYNTAX      Utf8String    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "This object contains a human readable description of the         reason why the wwwDocLastNResponseType was returned to the         client. This object defines the implementation-specific         reason if the value of wwwDocLastNResponseType indicates         an error. For example, this object can indicate that the         requested document could not be transferred due to a         timeout condition or the document could not be transferred         because a 'soft link' pointing to the document could not be         resolved."    ::= { wwwDocLastNEntry 6 }wwwDocLastNBytes OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of content bytes that were returned as a         result of this attempt to access a document."    ::= { wwwDocLastNEntry 7 }wwwDocBucketTable OBJECT-TYPE    SYNTAX      SEQUENCE OF WwwDocBucketEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "This table provides administrative summary information for         the buckets maintained per WWW service."    ::= { wwwDocumentStatistics 3 }wwwDocBucketEntry OBJECT-TYPE    SYNTAX      WwwDocBucketEntry    MAX-ACCESS  not-accessible

⌨️ 快捷键说明

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