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

📄 www-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
WWW-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE, mib-2,    Counter32, Counter64, Integer32, Unsigned32, TimeTicks        FROM SNMPv2-SMI    TEXTUAL-CONVENTION, DisplayString, DateAndTime, TimeInterval        FROM SNMPv2-TC    MODULE-COMPLIANCE, OBJECT-GROUP        FROM SNMPv2-CONF    Utf8String        FROM SYSAPPL-MIB;wwwMIB MODULE-IDENTITY    LAST-UPDATED "9902251400Z"    ORGANIZATION "IETF Application MIB Working Group"    CONTACT-INFO        "        Harrie Hazewinkel         Postal: Joint Research Centre of the E.C.                 via Fermi - Ispra 21020 (VA)                 Italy            Tel: +39+(0)332 786322            Fax: +39+(0)332 785641         E-mail: harrie.hazewinkel@jrc.it                 Carl W. Kalbfleisch         Postal: Verio, Inc.                 1950 Stemmons Freeway                 Suite 2006                 Dallas, TX 75207                 US            Tel: +1 214 290-8653            Fax: +1 214 744-0742         E-mail: cwk@verio.net                 Juergen Schoenwaelder         Postal: TU Braunschweig                 Bueltenweg 74/75                 38106 Braunschweig                 Germany            Tel: +49 531 391-3683            Fax: +49 531 489-5936         E-mail: schoenw@ibr.cs.tu-bs.de"    DESCRIPTION        "This WWW service MIB module is applicable to services         realized by a family of 'Document Transfer Protocols'         (DTP). Examples of DTPs are HTTP and FTP."       -- revision history       REVISION    "9902251400Z"       DESCRIPTION "Initial version, published as RFC2594."       ::= { mib-2 65 }----  Object Identifier Assignments--wwwMIBObjects     OBJECT IDENTIFIER ::= { wwwMIB 1 }wwwMIBConformance OBJECT IDENTIFIER ::= { wwwMIB 2 }---- Textual Conventions--WwwRequestType ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "The WwwRequestType defines the textual identification of         request types used by a document transfer protocol. For         the proper values for a given DTP, refer to the protocol         mappings for that DTP."    SYNTAX      OCTET STRING (SIZE (1..40))WwwResponseType ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "The WwwResponseType defines the different response values         used by document transfer protocols. For the proper values         for a given DTP, refer to the protocol mappings for that         DTP."    SYNTAX      Integer32 (0..2147483647)WwwOperStatus ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "The operational status of a WWW service. 'down' indicates         that the service is not available. 'running' indicates         that the service is operational and available. 'halted'         indicates that the service is operational but not         available. 'congested' indicates that the service is         operational but no additional inbound associations can be         accommodated. 'restarting' indicates that the service is         currently unavailable but is in the process of restarting         and will be available soon."    SYNTAX      INTEGER {                    down(1),                    running(2),                    halted(3),                    congested(4),                    restarting(5)                }WwwDocName ::= TEXTUAL-CONVENTION    DISPLAY-HINT "255a"    STATUS      current    DESCRIPTION        "The server relative name of a document. If the URL were         http://www.x.org/standards/search/search.cgi?string=test         then the value of this textual convention would resolve         to '/standards/search/search.cgi'. This textual convention         uses the character set for URIs as defined in RFC 2396         section 2."    SYNTAX      OCTET STRING (SIZE (0..255))-- The WWW Service Information Group---- The WWW service information group contains information about-- the WWW services known by the SNMP agent.wwwService OBJECT IDENTIFIER ::= { wwwMIBObjects 1 }wwwServiceTable OBJECT-TYPE    SYNTAX      SEQUENCE OF WwwServiceEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The table of the WWW services known by the SNMP agent."    ::= { wwwService 1 }wwwServiceEntry OBJECT-TYPE    SYNTAX      WwwServiceEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Details about a particular WWW service."    INDEX       { wwwServiceIndex }    ::= { wwwServiceTable 1 }WwwServiceEntry ::= SEQUENCE {    wwwServiceIndex             Unsigned32,    wwwServiceDescription       Utf8String,    wwwServiceContact           Utf8String,    wwwServiceProtocol          OBJECT IDENTIFIER,    wwwServiceName              DisplayString,    wwwServiceType              INTEGER,    wwwServiceStartTime         DateAndTime,    wwwServiceOperStatus        WwwOperStatus,    wwwServiceLastChange        DateAndTime}wwwServiceIndex OBJECT-TYPE    SYNTAX      Unsigned32 (1..4294967295)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An integer used to uniquely identify a WWW service. The         value must be the same as the corresponding value of the         applSrvIndex defined in the Application Management MIB         (APPLICATION-MIB) if the applSrvIndex object is available.         It might be necessary to manually configure sub-agents in         order to meet this requirement."    ::= { wwwServiceEntry 1 }wwwServiceDescription OBJECT-TYPE    SYNTAX      Utf8String    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Textual description of the WWW service. This shall include         at least the vendor and version number of the application         realizing the WWW service. In a minimal case, this might         be the Product Token (see RFC 2068) for the application."    ::= { wwwServiceEntry 2 }wwwServiceContact OBJECT-TYPE    SYNTAX      Utf8String    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The textual identification of the contact person for this         service, together with information on how to contact this         person. For instance, this might be a string containing an         email address, e.g. '<webmaster@domain.name>'."    ::= { wwwServiceEntry 3 }wwwServiceProtocol OBJECT-TYPE    SYNTAX      OBJECT IDENTIFIER    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "An identification of the primary protocol in use by this         service. For Internet applications, the IANA maintains         a registry of the OIDs which correspond to well-known         application protocols.  If the application protocol is not         listed in the registry, an OID value of the form         {applTCPProtoID port} or {applUDPProtoID port} are used for         TCP-based and UDP-based protocols, respectively. In either         case 'port' corresponds to the primary port number being         used by the protocol."    REFERENCE        "The OID values applTCPProtoID and applUDPProtoID are         defined in the NETWORK-SERVICES-MIB (RFC 2248)."    ::= { wwwServiceEntry 4 }wwwServiceName OBJECT-TYPE    SYNTAX      DisplayString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The fully qualified domain name by which this service is         known. This object must contain the virtual host name if         the service is realized for a virtual host."    ::= { wwwServiceEntry 5 }wwwServiceType OBJECT-TYPE    SYNTAX      INTEGER {                    wwwOther(1),                    wwwServer(2),                    wwwClient(3),                    wwwProxy(4),                    wwwCachingProxy(5)                }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The application type using or realizing this WWW service."    ::= { wwwServiceEntry 6 }wwwServiceStartTime OBJECT-TYPE    SYNTAX      DateAndTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The date and time when this WWW service was last started.         The value SHALL be '0000000000000000'H if the last start         time of this WWW service is not known."    ::= { wwwServiceEntry 7 }wwwServiceOperStatus OBJECT-TYPE    SYNTAX      WwwOperStatus    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Indicates the operational status of the WWW service."    ::= { wwwServiceEntry 8 }wwwServiceLastChange OBJECT-TYPE    SYNTAX      DateAndTime    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The date and time when this WWW service entered its current         operational state. The value SHALL be '0000000000000000'H if         the time of the last state change is not known."    ::= { wwwServiceEntry 9 }-- The WWW Protocol Statistics Group---- The WWW protocol statistics group contains statistics about-- the DTP requests and responses sent or received.wwwProtocolStatistics OBJECT IDENTIFIER ::= { wwwMIBObjects 2 }wwwSummaryTable OBJECT-TYPE    SYNTAX      SEQUENCE OF WwwSummaryEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The table providing overview statistics for the         WWW services on this system."    ::= { wwwProtocolStatistics 1 }wwwSummaryEntry OBJECT-TYPE    SYNTAX      WwwSummaryEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Overview statistics for an individual service."    INDEX       { wwwServiceIndex }    ::= { wwwSummaryTable 1 }WwwSummaryEntry ::= SEQUENCE {    wwwSummaryInRequests        Counter32,    wwwSummaryOutRequests       Counter32,    wwwSummaryInResponses       Counter32,    wwwSummaryOutResponses      Counter32,    wwwSummaryInBytes           Counter64,    wwwSummaryInLowBytes        Counter32,    wwwSummaryOutBytes          Counter64,    wwwSummaryOutLowBytes       Counter32}wwwSummaryInRequests OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of requests successfully received."    ::= { wwwSummaryEntry 1 }wwwSummaryOutRequests OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of requests generated."    ::= { wwwSummaryEntry 2 }wwwSummaryInResponses OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of responses successfully received."    ::= { wwwSummaryEntry 3 }wwwSummaryOutResponses OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of responses generated."    ::= { wwwSummaryEntry 4 }wwwSummaryInBytes OBJECT-TYPE    SYNTAX      Counter64    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of content bytes received."    ::= { wwwSummaryEntry 5 }wwwSummaryInLowBytes OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The lowest thirty-two bits of wwwSummaryInBytes."    ::= { wwwSummaryEntry 6 }wwwSummaryOutBytes OBJECT-TYPE    SYNTAX      Counter64    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of content bytes transmitted."    ::= { wwwSummaryEntry 7 }wwwSummaryOutLowBytes OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The lowest thirty-two bits of wwwSummaryOutBytes."    ::= { wwwSummaryEntry 8 }-- The WWW request tables contain detailed information about-- requests send or received by WWW services.wwwRequestInTable OBJECT-TYPE    SYNTAX      SEQUENCE OF WwwRequestInEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The table providing detailed statistics for requests         received by WWW services on this system."    ::= { wwwProtocolStatistics 2 }wwwRequestInEntry OBJECT-TYPE    SYNTAX      WwwRequestInEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Request statistics for an individual service."    INDEX       { wwwServiceIndex, wwwRequestInIndex }    ::= { wwwRequestInTable 1 }WwwRequestInEntry ::= SEQUENCE {    wwwRequestInIndex           WwwRequestType,    wwwRequestInRequests        Counter32,    wwwRequestInBytes           Counter32,    wwwRequestInLastTime        DateAndTime}wwwRequestInIndex OBJECT-TYPE    SYNTAX      WwwRequestType    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The particular request type the statistics apply to."    ::= { wwwRequestInEntry 1 }wwwRequestInRequests OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of requests of this type received by this         WWW service."    ::= { wwwRequestInEntry 2 }wwwRequestInBytes OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The number of content bytes per request type received         by this WWW service."    ::= { wwwRequestInEntry 3 }wwwRequestInLastTime OBJECT-TYPE    SYNTAX      DateAndTime    MAX-ACCESS  read-only    STATUS      current

⌨️ 快捷键说明

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