[APACHE DOCUMENTATION]

Apache HTTP Server Version 1.3

SNMP Agent

General Information

The SNMP module is an extension with which the status of the Apache HTTP Server can be retrieved via the Simple Network Management Protocol (SNMP). SNMP is a well-known management framework for the Internetletting hardware (such as routers, briges and modems) and software (such as operating systems, network layers and applications) provide their status via a Management Information Base (MIB). The MIB represents a collection of managed objects of remote devices that are accessible via SNMP-agents. Managers can query an agent for the values of objects managed by the agent.

This module exists of an agent that implements the following MIBs:

  • APACHE-CONFIG-MIB

  • A specific MIB for the Apache HTTP Sever with which SNMP access is given to some configuration parameters at run-time.

    Installation instructions

    1. Install the Apache HTTP Server (Version 1.3.x) as required.
    2. Untar the SNMP module from within the Apache directory (directly above the 'src'- and 'htdocs'-directory). This creates an 'snmp_agt'-directory within the 'modules'-directory, 'htdocs/snmp_agt'-directory and an 'snmp.conf-dist'-file.
    3. Configure and make the Apache HTTP Server. You now have multiple options for the database you can use.
    4. Add the contents of the 'snmp.conf-dist'-file to the 'httpd.conf'-file. (These files are standard in the '/usr/local/apache/conf')

    5.  
      prompt# cat httpd.conf-dist snmp.conf-dist > httpd.temp
      prompt# mv httpd.temp httpd.conf
    6. Edit the SNMP-section of the httpd.conf-file.
    7. Start, restart and stop Apache with new binary.
    This installation process requires the GNU-DBM to be installed as well. If you have installed the GNU-DBM with a different prefix as "/usr/local/" You have to modify the "./configure" of the above step 3 accordingly (LIBS and INCLUDE).

    Fine-tuning the SNMP Module

    Within in the MIB several groups are defined with which a selection to your wishes can be made. Therefore, you can edit an 'command-line' expander ('group_select'-file) to select the groups of your choice. That file allows you to override the default of all groups without doing a re-configure. A selection line in the file looks like: "echo '-D<group>'"

    The following groups exist in the implemented MIBs:


    Apache HTTP Server Version 1.3

    Index