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

📄 dns-server-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
            "Number of requests which were aborted for other (local)            server errors."    ::= { dnsServCounter 12 }-- DNS Server Counter TablednsServCounterTable OBJECT-TYPE    SYNTAX      SEQUENCE OF DnsServCounterEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Counter information broken down by DNS class and type."    ::= { dnsServCounter 13 }dnsServCounterEntry OBJECT-TYPE    SYNTAX      DnsServCounterEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "This table contains count information for each DNS class            and type value known to the server.  The index allows            management software to to create indices to the table to            get the specific information desired, e.g., number of            queries over UDP for records with type value `A' which            came to this server.  In order to prevent an            uncontrolled expansion of rows in the table; if            dnsServCounterRequests is 0 and dnsServCounterResponses            is 0, then the row does not exist and `no such' is            returned when the agent is queried for such instances."    INDEX     { dnsServCounterOpCode,                dnsServCounterQClass,                dnsServCounterQType,                dnsServCounterTransport }    ::= { dnsServCounterTable 1 }DnsServCounterEntry ::=    SEQUENCE {        dnsServCounterOpCode            DnsOpCode,        dnsServCounterQClass            DnsClass,        dnsServCounterQType            DnsType,        dnsServCounterTransport            INTEGER,        dnsServCounterRequests            Counter32,        dnsServCounterResponses            Counter32        }dnsServCounterOpCode OBJECT-TYPE    SYNTAX      DnsOpCode    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The DNS OPCODE being counted in this row of the table."    ::= { dnsServCounterEntry 1 }dnsServCounterQClass OBJECT-TYPE    SYNTAX      DnsClass    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The class of record being counted in this row of the            table."    ::= { dnsServCounterEntry 2 }dnsServCounterQType OBJECT-TYPE    SYNTAX      DnsType    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The type of record which is being counted in this row in            the table."    ::= { dnsServCounterEntry 3 }dnsServCounterTransport OBJECT-TYPE    SYNTAX      INTEGER { udp(1), tcp(2), other(3) }    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A value of udp(1) indicates that the queries reported on            this row were sent using UDP.            A value of tcp(2) indicates that the queries reported on            this row were sent using TCP.            A value of other(3) indicates that the queries reported            on this row were sent using a transport that was neither            TCP nor UDP."    ::= { dnsServCounterEntry 4 }dnsServCounterRequests OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests (queries) that have been recorded in            this row of the table."    ::= { dnsServCounterEntry 5 }dnsServCounterResponses OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of responses made by the server since            initialization for the kind of query identified on this            row of the table."    ::= { dnsServCounterEntry 6 }-- Server Optional Counter Group-- The Server Optional Counter Group is intended for those systems-- which make distinctions between the different sources of the DNS-- queries as defined below.---- Objects in this group are implemented on servers which distinguish-- between queries which originate from the same host as the server,-- queries from one of an arbitrary group of hosts that are on an-- access list defined by the server, and queries from hosts that do-- not fit either of these descriptions.---- The objects found in the Server Counter group are totals.  Thus if-- one wanted to identify, for example, the number of queries from-- `remote' hosts which have been given authoritative answers, one-- would subtract the current values of ServOptCounterFriendsAuthAns-- and ServOptCounterSelfAuthAns from servCounterAuthAns.---- The purpose of these distinctions is to allow for implementations-- to group queries and responses on this basis.  One way in which-- servers may make these distinctions is by looking at the source IP-- address of the DNS query.  If the source of the query is `your-- own' then the query should be counted as `yourself' (local host).-- If the source of the query matches an `access list,' the query-- came from a friend.  What constitutes an `access list' is-- implementation dependent and could be as simple as a rule that all-- hosts on the same IP network as the DNS server are classed-- `friends.'---- In order to avoid double counting, the following rules apply:---- 1. No host is in more than one of the three groups defined above.---- 2. All queries from the local host are always counted in the--    `yourself' group regardless of what the access list, if any,--    says.---- 3. The access list should not define `your friends' in such a way--    that it includes all hosts.   That is, not everybody is your--    `friend.'dnsServOptCounterSelfAuthAns OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests the server has processed which            originated from a resolver on the same host for which            there has been an authoritative answer."    ::= { dnsServOptCounter 1 }dnsServOptCounterSelfAuthNoNames OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests the server has processed which            originated from a resolver on the same host for which            there has been an authoritative no such name answer            given."    ::= { dnsServOptCounter 2 }dnsServOptCounterSelfAuthNoDataResps OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests the server has processed which            originated from a resolver on the same host for which            there has been an authoritative no such data answer            (empty answer) made."    ::= { dnsServOptCounter 3 }dnsServOptCounterSelfNonAuthDatas OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests the server has processed which            originated from a resolver on the same host for which a            non-authoritative answer (cached data) was made."    ::= { dnsServOptCounter 4 }dnsServOptCounterSelfNonAuthNoDatas OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests the server has processed which            originated from a resolver on the same host for which a            `non-authoritative, no such data' response was made            (empty answer)."    ::= { dnsServOptCounter 5 }dnsServOptCounterSelfReferrals OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries the server has processed which            originated from a resolver on the same host and were            referred to other servers."    ::= { dnsServOptCounter 6 }dnsServOptCounterSelfErrors OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests the server has processed which            originated from a resolver on the same host which have            been answered with errors (RCODEs other than 0 and 3)."    REFERENCE            "RFC-1035 section 4.1.1."    ::= { dnsServOptCounter 7 }dnsServOptCounterSelfRelNames OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests received for names that are only 1            label long (text form - no internal dots) the server has            processed which originated from a resolver on the same            host."    ::= { dnsServOptCounter 8 }dnsServOptCounterSelfReqRefusals OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of DNS requests refused by the server which            originated from a resolver on the same host."    ::= { dnsServOptCounter 9 }dnsServOptCounterSelfReqUnparses OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests received which were unparseable and            which originated from a resolver on the same host."    ::= { dnsServOptCounter 10 }dnsServOptCounterSelfOtherErrors OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests which were aborted for other (local)            server errors and which originated on the same host."    ::= { dnsServOptCounter 11 }dnsServOptCounterFriendsAuthAns OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries originating from friends which were            authoritatively answered.  The definition of friends is            a locally defined matter."    ::= { dnsServOptCounter 12 }dnsServOptCounterFriendsAuthNoNames OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries originating from friends, for which            authoritative `no such name' responses were made.  The            definition of friends is a locally defined matter."    ::= { dnsServOptCounter 13 }dnsServOptCounterFriendsAuthNoDataResps OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries originating from friends for which            authoritative no such data (empty answer) responses were            made.  The definition of friends is a locally defined            matter."    ::= { dnsServOptCounter 14 }dnsServOptCounterFriendsNonAuthDatas OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries originating from friends which were            non-authoritatively answered (cached data). The            definition of friends is a locally defined matter."    ::= { dnsServOptCounter 15 }dnsServOptCounterFriendsNonAuthNoDatas OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of queries originating from friends which were            non-authoritatively answered with no such data (empty            answer)."    ::= { dnsServOptCounter 16 }dnsServOptCounterFriendsReferrals OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests which originated from friends that            were referred to other servers.  The definition of            friends is a locally defined matter."    ::= { dnsServOptCounter 17 }dnsServOptCounterFriendsErrors OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests the server has processed which            originated from friends and were answered with errors            (RCODE values other than 0 and 3).  The definition of            friends is a locally defined matter."    REFERENCE            "RFC-1035 section 4.1.1."    ::= { dnsServOptCounter 18 }dnsServOptCounterFriendsRelNames OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of requests received for names from friends that            are only 1 label long (text form - no internal dots) the            server has processed."    ::= { dnsServOptCounter 19 }dnsServOptCounterFriendsReqRefusals OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "Number of DNS requests refused by the server which were            received from `friends'."    ::= { dnsServOptCounter 20 }dnsServOptCounterFriendsReqUnparses OBJECT-TYPE

⌨️ 快捷键说明

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