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

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, enterprises
        FROM SNMPv2-SMI
    DisplayString
        FROM SNMPv2-TC
    MODULE-COMPLIANCE, OBJECT-GROUP
        FROM SNMPv2-CONF
    applIndex
        FROM NETWORK-SERVICES-MIB
    SnmpAdminString
        FROM SNMP-FRAMEWORK-MIB;

covalentApacheModulesMIB 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 current Apache HTTP server modules.

         $Id: COVALENT-APACHE-MODULES-MIB.txt 8676 2008-01-17 23:11:17Z ispringer $"
    REVISION    "200112070000Z"
    DESCRIPTION
        "Added the ctApacheModuleCmdsTable to provide
         management information of the configuration
         directives.
         Added 2 enumerations of the ctModulesHooks."
    ::= { covalent 6 }

covalent OBJECT IDENTIFIER
    ::= { enterprises 6100 }

ctModulesMIBObjects OBJECT IDENTIFIER
    ::= { covalentApacheModulesMIB 1 }

ctModulesTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF CtModulesEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "This table maintains managed objects for the scoreboard.
         The table is maintained via 'slots' in which processes can serve requests
         from clients."
    ::= { ctModulesMIBObjects 1 }

ctModulesEntry OBJECT-TYPE
    SYNTAX      CtModulesEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "The ctModulesEntry."
    INDEX       { applIndex, ctModulesIndex }
    ::= { ctModulesTable 1 }

CtModulesEntry ::= SEQUENCE {
    ctModulesIndex                  Unsigned32,
    ctModulesName                   DisplayString,
    ctModulesVersion                Unsigned32,
    ctModulesMinorVersion           Unsigned32,
    ctModulesMagicNumber            Unsigned32,
    ctModulesHooks                  BITS
}

ctModulesIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION 
        "The module index to provide a uniqueness to the module information."
    ::= { ctModulesEntry 1 }

ctModulesName OBJECT-TYPE
    SYNTAX      DisplayString
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "A human readable name to identify the apache module."
    ::= { ctModulesEntry 2 }

ctModulesVersion OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The version of the apache module."
    ::= { ctModulesEntry 3 }

ctModulesMinorVersion OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The minor version number of the Apache module."
    ::= { ctModulesEntry 4 }

ctModulesMagicNumber OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The module magic number of the Apache module."
    ::= { ctModulesEntry 5 }

ctModulesHooks OBJECT-TYPE
    SYNTAX      BITS { init(0),
                        createDirConfig(1),
                        mergeDirconfig(2),
                        createServerConfig(3),
                        mergeServerConfig(4),
                        cmds(5),
                        handlers(6),
                        translateHandler(7),
                        apCheckUserId(8),
                        authChecker(9),
                        accessChecker(10),
                        typeChecker(11),
                        fixerUpper(12),
                        logger(13),
                        headerParser(14),
                        childInit(15),
                        childExit(16),
                        postReadRequest(17),
                        rewriteArgs(18),
                        registerHooks(19) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION 
        "The application hooks used by the Apache module."
    ::= { ctModulesEntry 6 }

ctApacheModuleCmdsTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF CtApacheModuleCmdsEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "This table maintains managed objects for the scoreboard.
         The table is maintained via 'slots' in which processes can serve requests
         from clients."
    ::= { ctModulesMIBObjects 2 }

ctApacheModuleCmdsEntry OBJECT-TYPE
    SYNTAX      CtApacheModuleCmdsEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The ctApacheModuleCmdsEntry."
    INDEX       { applIndex, ctModulesIndex, ctApacheModuleCmdsIndex }
    ::= { ctApacheModuleCmdsTable 1 }

CtApacheModuleCmdsEntry ::= SEQUENCE {
    ctApacheModuleCmdsIndex                  Unsigned32,
    ctApacheModuleCmdsName                   SnmpAdminString,
    ctApacheModuleCmdsArguments              INTEGER,
    ctApacheModuleCmdsUsage                  SnmpAdminString
}

ctApacheModuleCmdsIndex OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The index uniquely defines the command directive of the module."
    ::= { ctApacheModuleCmdsEntry 1 }

ctApacheModuleCmdsName OBJECT-TYPE
    SYNTAX      SnmpAdminString
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "A descriptive human readable string that identifies
         this command/configuration directive."
    ::= { ctApacheModuleCmdsEntry 2 }

ctApacheModuleCmdsArguments OBJECT-TYPE
    SYNTAX      INTEGER { noargs(0),
                          rawargs(1),
                          flag(2),
                          iterate(3),
                          iterate2(4),
                          args1(5),
                          args2(6),
                          args3(7),
                          args12(8),
                          args23(9),
                          args123(10),
                          args13(11) }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The type of arguments this directive expects.

         noargs(0):   no arguments
         rawargs(1):  raw arguments, handling function parses the arguments
         flag(2):     a flag, 'on' or 'off'
         iterate(3):  multiple (repeating) arguments
         iterate2(4): multiple (repeating) arguments starting at second
         args1(5):    takes 1 argument
         args2(6):    takes 2 arguments
         args3(7):    takes 3 arguments
         args12(8):   takes 1 or 2 arguments
         args23(9):   takes 2 or 3 arguments
         args123(10): takes 1, 2 or 3 arguments
         args13(11):  takes 1 or 3 arguments"
    ::= { ctApacheModuleCmdsEntry 3 }

ctApacheModuleCmdsUsage OBJECT-TYPE
    SYNTAX      SnmpAdminString
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "A descriptive human readable string on how this
         command/configuration directive needs to be used."
    ::= { ctApacheModuleCmdsEntry 4 }

ctModulesMIBConformance OBJECT IDENTIFIER
    ::= { covalentApacheModulesMIB 2 }

ctModulesMIBCompliances OBJECT IDENTIFIER
    ::= { ctModulesMIBConformance 1 }

ctModulesMIBGroups OBJECT IDENTIFIER
    ::= { ctModulesMIBConformance 2 }

ctModulesBasicGroup OBJECT-GROUP
    OBJECTS     { ctModulesName,
                  ctModulesVersion, 
                  ctModulesMinorVersion,
                  ctModulesMagicNumber,
                  ctModulesHooks }
    STATUS      current
    DESCRIPTION 
        "The objects that are maintained for the Apache modules."
    ::= { ctModulesMIBGroups 2 }

ctApacheModuleCmdsGroup OBJECT-GROUP
    OBJECTS     { ctApacheModuleCmdsName,
                  ctApacheModuleCmdsArguments,
                  ctApacheModuleCmdsUsage }
    STATUS      current
    DESCRIPTION
        "The objects that are maintained for the 
         Apache module configuration directives."
    ::= { ctModulesMIBGroups 3 }

ctModulesBasicCompliance MODULE-COMPLIANCE
    STATUS      current
    DESCRIPTION 
        "The basic compliance statement for the COVALENT-APACHE-MODULES-MIB."
    MODULE      -- this module
        MANDATORY-GROUPS        { ctModulesBasicGroup }
    ::= { ctModulesMIBCompliances 1 }

ctApacheModulesFullCompliance MODULE-COMPLIANCE
    STATUS      current
    DESCRIPTION
        "The full compliance statement for the COVALENT-APACHE-MODULES-MIB."
    MODULE      -- this module
        MANDATORY-GROUPS {
                ctModulesBasicGroup,
                ctApacheModuleCmdsGroup }
    ::= { ctModulesMIBCompliances 2 }


END
