--
-- This SMIv1 module has been generated by smidump 0.3.0. Do not edit.
--

COVALENT-APACHE-SERVER-MIB DEFINITIONS ::= BEGIN

IMPORTS
    applIndex, applOperStatus
        FROM NETWORK-SERVICES-MIB
    OBJECT-TYPE
        FROM RFC-1212
    TRAP-TYPE
        FROM RFC-1215
    enterprises
        FROM SNMPv2-SMI
    DateAndTime
        FROM SNMPv2-TC
    wwwServiceIndex
        FROM WWW-MIB;

covalentApacheServerMIB OBJECT IDENTIFIER
    ::= { covalent 9 }

-- covalentApacheServerMIB MODULE-IDENTITY
--     LAST-UPDATED "200204020000Z"
--     ORGANIZATION 
--         "Copyright (C) Covalent Technologies (2000-2002).  All Rights Reserved."
--     CONTACT-INFO 
--         "SNMP Engineering
--          Covalent Technologies
--          postal: 303 Second Street
--                  Suite 375 South
--                  San Francisco, CA 94107
--          tel:    +1-800-444-1935
--          email: support@covalent.net"
--     DESCRIPTION 
--         "This module defines managed objects to convey management information
--          about the Apache HTTP server (application).
--          
--          $Id: COVALENT-APACHE-SERVER-MIB.txt 8676 2008-01-17 23:11:17Z ispringer $"
--     ::= { covalent 9 }


covalent OBJECT IDENTIFIER
    ::= { enterprises 6100 }

ctApacheServerMIBObjects OBJECT IDENTIFIER
    ::= { covalentApacheServerMIB 1 }

ctApacheServerTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF CtApacheServerEntry
    ACCESS      not-accessible
    STATUS      mandatory
    DESCRIPTION 
        "A table providing the server generations of the Apache
         HTTP servers currently running on this system."
    ::= { ctApacheServerMIBObjects 1 }

ctApacheServerEntry OBJECT-TYPE
    SYNTAX      CtApacheServerEntry
    ACCESS      not-accessible
    STATUS      mandatory
    DESCRIPTION 
        "The entry providing the specifics of the server generations
         for the Apache HTTP servers currently running on this system."
    INDEX       { applIndex }
    ::= { ctApacheServerTable 1 }

CtApacheServerEntry ::= SEQUENCE {
    ctApacheServerStartTime         DateAndTime,
    ctApacheServerRestartTime       DateAndTime,
    ctApacheServerGeneration        Gauge,
    ctApacheServerExtendedStatus    INTEGER,
    ctApacheServerHostNameLookup    INTEGER
}

ctApacheServerStartTime OBJECT-TYPE
    SYNTAX      DateAndTime
    ACCESS      read-only
    STATUS      mandatory
    DESCRIPTION 
        "The date and time the server started.
         This object is similar in semantics as the 
         'applUptime' of the NETWORK-SERVICES-MIB, but
         has a different syntax."
    ::= { ctApacheServerEntry 1 }

ctApacheServerRestartTime OBJECT-TYPE
    SYNTAX      DateAndTime
    ACCESS      read-only
    STATUS      mandatory
    DESCRIPTION 
        "The date and time the server restarted.
         This object is similar in semantics as the 
         'applLastChange' of the NETWORK-SERVICES-MIB, but
         has a different syntax."
    ::= { ctApacheServerEntry 2 }

ctApacheServerGeneration OBJECT-TYPE
    SYNTAX      Gauge
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The server generation of the Apache children.
         This value gives also an indication of the
         number of restarts done of the Apache HTTP server.
         
         By writing to this value one can restart the
         Apache HTTP server gracefully. The value allowed
         to be written to it is always the current value
         plus 1. All other values should return a 
         inconsistentValue error."
    ::= { ctApacheServerEntry 3 }

ctApacheServerExtendedStatus OBJECT-TYPE
    SYNTAX      INTEGER { enable(1), disable(2) }
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The ctExtendedStatus controls whether the server keeps
         track of extended status information for each request.
         This is only useful if the status module is enabled
         on the server. 
         
         This setting applies to the entire server, and cannot be
         enabled or disabled on a virtualhost-by-virtualhost basis."
    ::= { ctApacheServerEntry 4 }

ctApacheServerHostNameLookup OBJECT-TYPE
    SYNTAX      INTEGER { on(1), off(2), double(3) }
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The ctHostNameLookup enables DNS lookups so that host names
         can be logged (and passed to CGIs/SSIs in REMOTE_HOST). The
         value double refers to doing double-reverse DNS. That is,
         after a reverse lookup is performed, a forward lookup is
         then performed on that result. At least one of the ip addresses
         in the forward lookup must match the original address.
         (In 'tcpwrappers' terminology this is called PARANOID.)
         
         Regardless of the setting, when mod_access is used for controlling
         access by hostname, a double reverse lookup will be performed.
         This is necessary for security. Note that the result of this
         double-reverse isn't generally available unless you set
         HostnameLookups double. For example, if only HostnameLookups on
         and a request is made to an object that is protected by hostname
         restrictions, regardless of whether the double-reverse fails or not,
         CGIs will still be passed the single-reverse result in REMOTE_HOST.
         
         The default for this directive was previously on in versions of Apache
         prior to 1.3. It was changed to off in order to save the network
         traffic for those sites that don't truly need the reverse lookups
         done. It is also better for the end users because they don't have to
         suffer the extra latency that a lookup entails. Heavily loaded sites
         should leave this directive off, since DNS lookups can take
         considerable amounts of time. The utility logresolve, provided in
         the /support directory, can be used to look up host names from
         logged IP addresses offline."
    ::= { ctApacheServerEntry 5 }

ctApacheWwwServiceTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF CtApacheWwwServiceEntry
    ACCESS      not-accessible
    STATUS      mandatory
    DESCRIPTION 
        "This table contains Apache server configuration information
         specific to a WWW-service."
    ::= { ctApacheServerMIBObjects 2 }

ctApacheWwwServiceEntry OBJECT-TYPE
    SYNTAX      CtApacheWwwServiceEntry
    ACCESS      not-accessible
    STATUS      mandatory
    DESCRIPTION 
        "The entry that contains the WWW-service specific configuration
         objects for the Apache HTTP server."
    INDEX       { wwwServiceIndex }
    ::= { ctApacheWwwServiceTable 1 }

CtApacheWwwServiceEntry ::= SEQUENCE {
    ctApacheWwwConnectionTimeout    INTEGER,
    ctApacheWwwKeepAliveSwitch      INTEGER,
    ctApacheWwwKeepAliveRequests    INTEGER,
    ctApacheWwwKeepAliveTimeout     INTEGER,
    ctApacheWwwReqLineLimit         INTEGER,
    ctApacheWwwReqHeaderFieldLimit  INTEGER,
    ctApacheWwwReqHeaderLimit       INTEGER
}

ctApacheWwwConnectionTimeout OBJECT-TYPE
    SYNTAX      INTEGER (1..2147483647)
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The ctConnectionTimeout limits the number of seconds
         Apache will wait before closing a stale connection."
    ::= { ctApacheWwwServiceEntry 1 }

ctApacheWwwKeepAliveSwitch OBJECT-TYPE
    SYNTAX      INTEGER { enable(1), disable(2) }
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The ctKeepAliveSwitch enables Keep-Alive support."
    ::= { ctApacheWwwServiceEntry 2 }

ctApacheWwwKeepAliveRequests OBJECT-TYPE
    SYNTAX      INTEGER (1..2147483647)
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The ctKeepAliveRequests limits the number of requests
         allowed per connection when KeepAlive is on. If it is
         set to '0', unlimited requests will be allowed. We
         recommend that this setting be kept to a high value
         for maximum server performance."
    ::= { ctApacheWwwServiceEntry 3 }

ctApacheWwwKeepAliveTimeout OBJECT-TYPE
    SYNTAX      INTEGER (1..2147483647)
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The ctKeepAliveRequests manages the number of seconds Apache
         will wait for a subsequent request before closing the
         connection. Once a request has been received, the timeout
         value specified by the Timeout directive applies."
    ::= { ctApacheWwwServiceEntry 4 }

ctApacheWwwReqLineLimit OBJECT-TYPE
    SYNTAX      INTEGER (1..2147483647)
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The ctApacheWwwReqLineLimit manages the maximum amount of
         bytes for the request line that Apache will read.
         
         NOTE: The applicability depends on the protocol of the
               WWW service."
    ::= { ctApacheWwwServiceEntry 5 }

ctApacheWwwReqHeaderFieldLimit OBJECT-TYPE
    SYNTAX      INTEGER (1..2147483647)
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The ctApacheWwwReqHeaderFieldLimit manages the maximum
         amount of bytes for a header of the request that Apache
         will read.
         
         NOTE: The applicability depends on the protocol of the
               WWW service."
    ::= { ctApacheWwwServiceEntry 6 }

ctApacheWwwReqHeaderLimit OBJECT-TYPE
    SYNTAX      INTEGER (1..2147483647)
    ACCESS      read-write
    STATUS      mandatory
    DESCRIPTION 
        "The ctApacheWwwReqHeaderLimit manages the maximum amount of
         headers Apache will read.
         
         NOTE: The applicability depends on the protocol of the
               WWW service."
    ::= { ctApacheWwwServiceEntry 7 }

ctApacheServerMIBConformance OBJECT IDENTIFIER
    ::= { covalentApacheServerMIB 2 }

ctApacheServerMIBCompliances OBJECT IDENTIFIER
    ::= { ctApacheServerMIBConformance 1 }

ctApacheServerMIBGroups OBJECT IDENTIFIER
    ::= { ctApacheServerMIBConformance 2 }

ctApacheServerNotifications OBJECT IDENTIFIER
    ::= { covalentApacheServerMIB 3 }

ctApacheServerColdStart TRAP-TYPE
    ENTERPRISE  ctApacheServerNotifications
    VARIABLES   { applOperStatus, ctApacheServerStartTime }
--     STATUS      mandatory
    DESCRIPTION 
        "The trap that is sent when the Apache server boots."
    ::= 1

ctApacheServerWarmStart TRAP-TYPE
    ENTERPRISE  ctApacheServerNotifications
    VARIABLES   { applOperStatus, ctApacheServerRestartTime, 
                  ctApacheServerGeneration }
--     STATUS      mandatory
    DESCRIPTION 
        "The trap that is sent when the Apache server reboots/restarts."
    ::= 2

ctApacheServerShutdown TRAP-TYPE
    ENTERPRISE  ctApacheServerNotifications
    VARIABLES   { applOperStatus }
--     STATUS      mandatory
    DESCRIPTION 
        "The trap that is sent when the Apache server terminates."
    ::= 3

ctApacheServerGroup OBJECT IDENTIFIER
    ::= { ctApacheServerMIBGroups 1 }

-- ctApacheServerGroup OBJECT-GROUP
--     OBJECTS     { ctApacheServerStartTime, ctApacheServerRestartTime, 
--                   ctApacheServerGeneration, 
--                   ctApacheServerExtendedStatus, 
--                   ctApacheServerHostNameLookup }
--     STATUS      mandatory
--     DESCRIPTION 
--         "The objects which are global for the Apache HTTP server."
--     ::= { ctApacheServerMIBGroups 1 }

ctApacheServerWwwServiceGroup OBJECT IDENTIFIER
    ::= { ctApacheServerMIBGroups 2 }

-- ctApacheServerWwwServiceGroup OBJECT-GROUP
--     OBJECTS     { ctApacheWwwConnectionTimeout, 
--                   ctApacheWwwKeepAliveSwitch, 
--                   ctApacheWwwKeepAliveRequests, 
--                   ctApacheWwwKeepAliveTimeout, 
--                   ctApacheWwwReqLineLimit, 
--                   ctApacheWwwReqHeaderFieldLimit, 
--                   ctApacheWwwReqHeaderLimit }
--     STATUS      mandatory
--     DESCRIPTION 
--         "The objects that are WWW-service specific of the Apache
--          HTTP server."
--     ::= { ctApacheServerMIBGroups 2 }

ctApacheServerNotificationsGroup OBJECT IDENTIFIER
    ::= { ctApacheServerMIBGroups 3 }

-- ctApacheServerNotificationsGroup NOTIFICATION-GROUP
--     NOTIFICATIONS { ctApacheServerColdStart, ctApacheServerWarmStart, 
--                   ctApacheServerShutdown }
--     STATUS      mandatory
--     DESCRIPTION 
--         "The generic notifications used for Apache application events.
--          Apache application events are starts, restarts, and stops."
--     ::= { ctApacheServerMIBGroups 3 }

ctApacheServerFullCompliance OBJECT IDENTIFIER
    ::= { ctApacheServerMIBCompliances 1 }

-- ctApacheServerFullCompliance MODULE-COMPLIANCE
--     STATUS      mandatory
--     DESCRIPTION 
--         "The full compliance statement for the Apache application."

--     MODULE      -- -- this module

--         MANDATORY-GROUPS        { ctApacheServerGroup, 
--                   ctApacheServerWwwServiceGroup, 
--                   ctApacheServerNotificationsGroup }

--     ::= { ctApacheServerMIBCompliances 1 }

ctApacheServerBasicCompliance OBJECT IDENTIFIER
    ::= { ctApacheServerMIBCompliances 2 }

-- ctApacheServerBasicCompliance MODULE-COMPLIANCE
--     STATUS      mandatory
--     DESCRIPTION 
--         "The basic compliance statement for the Apache application.
--          Basic compliance means there are no notifications implemented."

--     MODULE      -- -- this module

--         MANDATORY-GROUPS        { ctApacheServerGroup }

--     ::= { ctApacheServerMIBCompliances 2 }

ctApacheServerFullROCompliance OBJECT IDENTIFIER
    ::= { ctApacheServerMIBCompliances 3 }

-- ctApacheServerFullROCompliance MODULE-COMPLIANCE
--     STATUS      mandatory
--     DESCRIPTION 
--         "The full compliance statement for the Apache application."

--     MODULE      -- -- this module

--         MANDATORY-GROUPS        { ctApacheServerGroup, 
--                   ctApacheServerWwwServiceGroup, 
--                   ctApacheServerNotificationsGroup }

--         OBJECT  ctApacheServerGeneration
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--         OBJECT  ctApacheServerExtendedStatus
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--         OBJECT  ctApacheServerHostNameLookup
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--         OBJECT  ctApacheWwwConnectionTimeout
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--         OBJECT  ctApacheWwwKeepAliveSwitch
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--         OBJECT  ctApacheWwwKeepAliveRequests
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--         OBJECT  ctApacheWwwKeepAliveTimeout
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--         OBJECT  ctApacheWwwReqLineLimit
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--         OBJECT  ctApacheWwwReqHeaderFieldLimit
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--         OBJECT  ctApacheWwwReqHeaderLimit
--         MIN-ACCESS  read-only
--         DESCRIPTION   
--         "Write access is not needed"

--     ::= { ctApacheServerMIBCompliances 3 }

END -- end of module COVALENT-APACHE-SERVER-MIB.
