To configure the Agent Client Collector to perform Apache HTTP server monitoring, set the following configurations in the Apache HTTP server application.
Before you begin
Role required: agent_client_collector_admin
Procedure
-
On the Apache HTTP Server host, navigate to one of the following locations:
- In a Linux environment:
- /etc/httpd
- /etc/httpd/conf
- /etc/apache2
- /etc/apache2/conf
- In a Windows environment: The conf directory in the Apache installation location.
-
Locate either the httpd.conf or apache2.conf file.
-
Ensure that the following line is uncommented:
LoadModule status_module modules/mod_status.so
-
Configure the check instance port to be identical to the port on which Apache is listening (default for both is 80).
-
To ensure a secure connection, configure SSL, as follows:
-
Ensure that the following line is uncommented:
LoadModule ssl_module modules/mod_ssl.so
-
Activate the ssl_secure_connection parameter in the check instance.
-
Configure the check instance port to be identical to the port on which Apache is listening to secure connections (default is 443).