HTTP-MIB DEFINITIONS ::= BEGIN IMPORTS applIndex FROM APPLICATION-MIB OBJECT-TYPE, enterprises, Counter, IpAddress FROM RFC1155-SMI DisplayString, FROM RFC1213-MIB; ibm OBJECT IDENTIFIER ::= { enterprises 2 } ibmProd OBJECT IDENTIFIER ::= { ibm 6 } ibmInternetConnSvr OBJECT IDENTIFIER ::= { ibmProd 120 } -- Branch (family) for protocols supported by the server ibmObjectIdentities OBJECT IDENTIFIER ::= { ibm 12 } http OBJECT IDENTIFIER ::= { ibmObjectIdentities 1 } ftp OBJECT IDENTIFIER ::= { ibmObjectIdentities 2 } -- -- Object Identifiers for the http-MIB -- httpMIB OBJECT IDENTIFIER ::= { ibmInternetConnSvr 1 } httpMIBObjects OBJECT IDENTIFIER ::= { httpMIB 1 } -- -- The http System Group -- -- The http System group contains information about the http protocol entity. httpSystem OBJECT IDENTIFIER ::= { httpMIBObjects 1 } httpEntityTable OBJECT-TYPE SYNTAX SEQUENCE OF HttpEntityEntry ACCESS read-only STATUS mandatory DESCRIPTION "The table of http Servers and Clients present on the system. " ::= { httpSystem 1 } httpEntityEntry OBJECT-TYPE SYNTAX HttpEntityEntry ACCESS read-only STATUS mandatory DESCRIPTION "Details of a particular http Server or Client." INDEX { applIndex } ::= { httpEntityTable 1 } HttpEntityEntry ::= SEQUENCE { httpEntityDescription DisplayString, httpEntityObjectID OBJECT IDENTIFIER, httpEntityContact DisplayString, httpEntityProtocol OBJECT IDENTIFIER, httpEntityProtocolVersion DisplayString, httpEntityName DisplayString, httpEntityAddress IpAddress, httpEntityPort INTEGER, httpEntityType INTEGER, httpCurrentThreads Gauge32, httpMaxThreads INTEGER, httpMinThreads INTEGER } httpEntityDescription OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Textual description of the http Server or Client. This shall include at least the vendor and version number of the application. In a minimal case, this might be the Product Token for the application. For example, for a client, this might be 'CERN-LineMode/2.15 libwww/2.17b3' and for a server 'Apache/0.8.4'." ::= { httpEntityEntry 1 } httpEntityObjectID OBJECT-TYPE SYNTAX OBJECT IDENTIFIER ACCESS read-only STATUS mandatory DESCRIPTION "The authoritative identification for entity. This may be a value assigned within an enterprise MIB, or within a standard MIB. A number of values are defined within this MIB for use for this value. The version of the entity should be encoded within the trailing sub-identifiers. For example, if the entity is verion 1.0.0 of a particular application, then the value might be '1.3.6.1.4.1.vendor.app.1.0.0'. If there is no appropriate value to return, then 0.0 is returned." ::= { httpEntityEntry 2 } httpEntityContact OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "The textual identification of the contact person for this http Server or Client, together with information on how to contact this person. For instance this might be 'webmaster@domain.name'." ::= { httpEntityEntry 3 } httpEntityProtocol OBJECT-TYPE SYNTAX OBJECT IDENTIFIER ACCESS read-only STATUS mandatory DESCRIPTION "An identification of the primary protocol in use by this entity. For Internet applications, the IANA maintains a registry of the OIDs which correspond to well-known applications. If the application protocol is not listed in the registry, an OID value of the form {applTCPProtoID port} or {applUDProtoID 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." ::= { httpEntityEntry 4 } httpEntityProtocolVersion OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Textual description of the version of the protocol implemented. For HTTP, the value shall be the HTTP Version." ::= { httpEntityEntry 5 } httpEntityName OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "The fully qualified domain name by which this entity is known. This may be different than applName since that value is only a textual name for the application." ::= { httpEntityEntry 6 } httpEntityAddress OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS mandatory DESCRIPTION "The Transport Address at which the http Entity listens for Requests or Responses." ::= { httpEntityEntry 7 } httpEntityPort OBJECT-TYPE SYNTAX INTEGER (0..10000) ACCESS read-only STATUS mandatory DESCRIPTION "The primary port used to communicate with this entity." ::= { httpEntityEntry 8 } httpEntityType OBJECT-TYPE SYNTAX INTEGER { server(1), client(2), proxy(3), cachingProxy(4) } ACCESS read-only STATUS mandatory DESCRIPTION "Identification of the role of the http Entity." ::= { httpEntityEntry 9 } httpCurrentThreads OBJECT-TYPE SYNTAX Gauge32 ACCESS read-only STATUS mandatory DESCRIPTION "Total number of threads currently existing on this entity. A sum of all active (inbound plus outbound) and idle/available. If given server doesn't support multi-threading, this could reflect number of processes it has forked out in total." ::= { httpEntityEntry 10 } httpMaxThreads OBJECT-TYPE SYNTAX INTEGER (1..10000) ACCESS read-only STATUS mandatory DESCRIPTION "Maximum number of threads this Web server is allowed to create. httpCurrentThreads can never exceed this value. Also, httpMinThread must never exceed this value either." ::= { httpEntityEntry 11 } httpMinThreads OBJECT-TYPE SYNTAX INTEGER (1..10000) ACCESS read-only STATUS mandatory DESCRIPTION "Minimum number of threads this Web server must maintain, even if idle. Will always be lower or equal to httpCurrentThreads. Must be lower than httpMaxThreads. For single-threaded entity this object makes little sense and can be either set to one, or left unimplemented without damaging server compliance." ::= { httpEntityEntry 12 } -- -- The http Statistics Group -- -- The http Statistics group contains information concerning the utilisation -- of the http protocol entity. -- httpStatistics OBJECT IDENTIFIER ::= { httpMIBObjects 2 } httpSummaryTable OBJECT-TYPE SYNTAX SEQUENCE OF HttpSummaryEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "The table providing overview statistics for the http protocol entities on this system." ::= { httpStatistics 1 } httpSummaryEntry OBJECT-TYPE SYNTAX HttpSummaryEntry ACCESS read-only STATUS mandatory DESCRIPTION "Overview statistics for an individual http Server or Client." INDEX { applIndex } ::= { httpSummaryTable 1 } HttpSummaryEntry ::= SEQUENCE { httpSummaryRequests Counter, httpSummaryRequestErrors Counter, httpSummaryRequestDiscards Counter, httpSummaryResponses Counter, httpSummaryResponseDiscards Counter, httpSummaryInUnknowns Counter, httpSummaryInBytes Counter, httpSummaryOutBytes Counter } httpSummaryRequests OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of Requests generated or received by this entity." ::= { httpSummaryEntry 1 } httpSummaryRequestErrors OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of Request errors detected by this entity (server only.)" ::= { httpSummaryEntry 2 } httpSummaryRequestDiscards OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of Requests discarded by this entity (server only)." ::= { httpSummaryEntry 3 } httpSummaryResponses OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of Responses generated or received by this entity." ::= { httpSummaryEntry 4 } httpSummaryResponseDiscards OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of Responses discarded by this entity (client only)." ::= { httpSummaryEntry 5 } httpSummaryInUnknowns OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of unknown messages detected by this entity." ::= { httpSummaryEntry 6 } httpSummaryInBytes OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of bytes received by this entity." ::= { httpSummaryEntry 7 } httpSummaryOutBytes OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of bytes generated by this entity." ::= { httpSummaryEntry 8 } -- -- httpResponseSummaryTable -- added for 5.0 -- httpResponseSummaryTable OBJECT-TYPE SYNTAX SEQUENCE OF HttpResponseSummaryEntry ACCESS read-only STATUS mandatory DESCRIPTION "The table providing detailed Response summary statistics for the entities on this system." ::= { httpStatistics 2} httpResponseSummaryEntry OBJECT-TYPE SYNTAX HttpResponseSummaryEntry ACCESS read-only STATUS mandatory DESCRIPTION "Response summary statistics for an individual entity." INDEX { applIndex, httpResponseSummaryIndex } ::= { httpResponseSummaryTable 1 } HttpResponseSummaryEntry ::= SEQUENCE { httpResponseSummaryIndex HttpResponseSummaryType, httpResponseSummaryCount Counter } httpResponseSummaryIndex OBJECT-TYPE SYNTAX HttpResponseSummaryType ACCESS read-only STATUS mandatory DESCRIPTION "The particular ResponseSummary type the statistics apply to." ::= { httpResponseSummaryEntry 1 } httpResponseSummaryCount OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The number of responses of this class received by this entity." ::= { httpResponseSummaryEntry 2 } -- -- httpCacheSummaryTable -- added for 5.0 -- httpCacheSummaryTable OBJECT-TYPE SYNTAX SEQUENCE OF HttpCacheSummaryEntry ACCESS read-only STATUS mandatory DESCRIPTION "The table providing detailed Cache summary statistics for the entities on this system." ::= { httpStatistics 3} httpCacheSummaryEntry OBJECT-TYPE SYNTAX HttpCacheSummaryEntry ACCESS read-only STATUS mandatory DESCRIPTION "Cache summary statistics for an individual entity." INDEX { applIndex } ::= { httpCacheSummaryTable 1 } HttpCacheSummaryEntry ::= SEQUENCE { httpCacheSummaryKbytesRead Counter, httpCacheSummaryModKbytesRead Counter, httpCacheSummaryHits Counter, httpCacheSummaryRamInUse Counter, httpCacheSummaryFiles Counter } httpCacheSummaryKbytesRead OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of kilo bytes read from cache." ::= { httpCacheSummaryEntry 1 } httpCacheSummaryModKbytesRead OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "This gives the modulo of total number of bytes read from cache (i.e. numBytesReadFromCache modulo 1024)" ::= { httpCacheSummaryEntry 2 } httpCacheSummaryHits OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of successful hits to the cache." ::= { httpCacheSummaryEntry 3 } httpCacheSummaryRamInUse OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of bytes used by cache." ::= { httpCacheSummaryEntry 4 } httpCacheSummaryFiles OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of files in the cache." ::= { httpCacheSummaryEntry 5 } -- -- timeout groups -- httpTotalTimeouts OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The total number of timeouts for all http entities." ::= { httpStatistics 4 } httpLastTimeoutEntityIndex OBJECT-TYPE SYNTAX INTEGER (1..2147483647) ACCESS read-only STATUS mandatory DESCRIPTION "The unique (on this machine) identifier for this entity. This Index corresponds to httpEntityIndex in the http System group. Note that this index can be used to retrieve details from the httpTimeoutTable." ::= { httpStatistics 5 } httpLastTimeoutRemoteAddressIndex OBJECT-TYPE SYNTAX IpAddress ACCESS read-only STATUS mandatory DESCRIPTION "The address of the remote entity. Note that this index can be used to retrieve details from the httpTimeoutTable." ::= { httpStatistics 6 } -- -- httpRequestTable -- -- added for 5.0 release -- httpRequestTable OBJECT-TYPE SYNTAX SEQUENCE OF HttpRequestEntry ACCESS read-only STATUS mandatory DESCRIPTION "The table providing detailed request statistics for the entities on this system." ::= { httpStatistics 7 } httpRequestEntry OBJECT-TYPE SYNTAX HttpRequestEntry ACCESS read-only STATUS mandatory DESCRIPTION "Request statistics for an individual entity." INDEX { applIndex, IMPLIED httpRequestIndex } ::= { httpRequestTable 1 } HttpRequestEntry ::= SEQUENCE { httpRequestIndex HttpMethod, httpRequestCount Counter, } httpRequestIndex OBJECT-TYPE SYNTAX HttpMethod ACCESS read-only STATUS mandatory DESCRIPTION "The particular request type the statistics apply to." ::= { httpRequestEntry 1 } httpRequestCount OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The number of requests of this type received by this entity." ::= { httpRequestEntry 2 } -- -- httpResponseTable -- httpResponseTable OBJECT-TYPE SYNTAX SEQUENCE OF HttpResponseEntry ACCESS read-only STATUS mandatory DESCRIPTION "The table providing detailed response statistics for the entities on this system." ::= { httpStatistics 8 } httpResponseEntry OBJECT-TYPE SYNTAX HttpResponseEntry ACCESS read-only STATUS mandatory DESCRIPTION "Response statistics for an individual entity." INDEX { applIndex, httpResponseIndex } ::= { httpResponseTable 1 } HttpResponseEntry ::= SEQUENCE { httpResponseIndex HttpStatusCode, httpResponseCount Counter } httpResponseIndex OBJECT-TYPE SYNTAX HttpStatusCode ACCESS read-only STATUS mandatory DESCRIPTION "The particular response type the statistics apply to." ::= { httpResponseEntry 1 } httpResponseCount OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "The number of responses of this type received by this entity." ::= { httpResponseEntry 2 } END