35 Discovering and Monitoring Apache HTTP Server

This chapter describes how Enterprise Manager Cloud Control enables you to discover Apache HTTP Servers in your environment, and add them for central monitoring and management.

Enterprise Manager Cloud Control enables you to discover Apache HTTP Servers in your environment, and add them for central monitoring and management. This chapter describes how to discover and monitor these Apache HTTP Server targets.

In particular, this chapter covers the following topics:

Introduction to HTTP Servers

Using Enterprise Manager Cloud Control, you can do the following with Apache HTTP Server targets:

  • Discover the Apache HTTP Server targets for real-time and historical availability monitoring.

  • Create or end blackouts and notification blackouts to suspend or resume the collection of metric data, respectively.

  • View a list of metrics, their collection interval, and the last upload for each metric.

  • Create monitoring templates that can be used as a source for all the future installations, so that they follow a standard, consistent configuration.

  • Generate availability and event reports.

Supported Versions of Apache HTTP Server for Discovery and Monitoring

To search for the Apache HTTP Server versions that are supported for discovery and monitoring in Enterprise Manager Cloud Control, follow these steps:

  1. Log in to https://support.oracle.com/.

  2. On the My Oracle Support home page, select the Certifications tab.

  3. On the Certifications page, enter the following search criteria in the Certification Search section.

    • Enter the product name Enterprise Manager Base Platform - OMS in the Product field.

    • Select the appropriate release number from the Release list.

  4. Click Search.

  5. In the Certification Results section, expand the Middleware menu to view the certified Apache HTTP Server versions.


    Apache HTTP Server Certificaton Details

Prerequisites for Discovering and Monitoring Apache HTTP Server

Meet the following prerequisites for discovering Apache HTTP Servers:

  • The Management Agent must be installed and running on the same host where the Apache HTTP Server is being configured. Remote agent is not supported.

  • Ensure that the same user/role is used to install the Management Agent and the Apache HTTP Server.

Discovering Apache HTTP Servers

To discover Apache HTTP Server Servers, follow these steps:

  1. In Cloud Control, from Setup menu, select Add Target, then select Add Targets Manually.

  2. On the Add Targets Manually page, click Add Targets Declaratively.

  3. On the Add Targets Declaratively page enter the Host and select Apache HTTP Server from the Target Type table, and then click Add.

  4. On the Add: Apache HTTP Server page, provide the target name, the directory location where the httpd.conf file has been installed, and the directory location where the Apache binaries (like the bin folder) are stored. Click OK.


Add Apache HTTP Server

Monitoring Apache HTTP Servers

After adding the Apache HTTP Server target, it becomes automatically available for monitoring. For this target, only the response metrics and configuration metrics are collected or monitored.

After discovery, to access the Apache HTTP Server targets, from Targets menu, select All targets. From the Refine Search section on the left hand pane, expand Middleware. From the list, select Apache HTTP Server. Click on the target name to view the status of the target.


Monitoring Apache HTTP Server

On the Apache HTTP Server home page, you can view general information about the server, information about the status of the server, the availability, the absolute path to the Apache server binaries, and so on.

Configuration Management for Apache HTTP Servers

The configuration data for the Apache HTTP server is collected on a daily basis.

To view the configuration data, on the Apache HTTP Server home page, from Apache HTTP Server menu, select Configuration, and then click Last Collected.


Configuration Management

The following configuration details are collected for Apache HTTP server:

  • Generic information like server name, listen port, and so on.

  • General Routing information for WebLogic/WebSphere requests.

  • Apache Server listen host ports and protocol.

  • Virtual host information which is used for routing the requests that come to Apache Server to particular host port.

Troubleshooting Apache HTTP Server Issues

Issue: Response and Configuration Metrics collection for Apache HTTP Server fails.

Problem: If the process owner (Apache installation owner) is different from Management Agent user, then Apache HTTP Server target will be discovered, but the response and configuration metrics will not be collected.

Workaround: Ensure that the same user/role is used to install the Management Agent and the Apache HTTP Server.

Note:

The file which the Management Agent accesses to draw information is httpd.conf.