Configuring the HTTP Server agent
The Monitoring Agent for HTTP Server starts automatically. You must review the configuration file that the agent creates for the IBM® HTTP Server. Then, you must add the data collector configuration manually to the server configuration file. To gather more response time information for the HTTP Server agent, you can install the Response Time Monitoring Agent.
Reviewing the data collector configuration
You must start the HTTP Server when the HTTP Server agent is running. Then the HTTP Server agent discovers the server and generates a httpd configuration file in the install_dir/tmp/khu directory for the server.
About this task
khu.full path of the HTTP Server configuration file name.conf
For
example, a possible file name is khu.usr.local.apache24.conf.httpd.conf.- Details about the path of the httpd.conf file that the HTTP Server uses, for example, KhuShmemPath "/IBM/HTTPServer/conf/httpd.conf".
- Location of the library to load
- Permissions that are associated with the shared memory
# Monitoring Agent for HTTP Server instance alias mapping
# INSTANCE: auto discovered by agent. Please do NOT modify.
# ALIAS: alias name for the instance. The name will be displayed in APM UI dashboard. It must be unique
# among all instances and it must be less than 10 characters and consist of only alphanumeric characters.
#
INSTANCE.1=/usr/local/apache24/conf/httpd.conf
ALIAS.1=httpd
INSTANCE.1=/usr/local/apache24/conf/admin.conf
ALIAS.1=admin
If you upgrade to HTTP Server agent version 1.0.0.4, the new alias causes the change of MSN. Therefore, if you enabled the monitoring on HTTP servers and created applications in the UI before the upgrade, the HTTP agent nodes that was created previously become offline in the UI after the upgrade. You must review the new configuration file generated by the agent and re-enable the data collector. You must add the new HTTP server instance.
Procedure
Activating the data collector
To activate the data collector, you must include the generated data collector configuration file in the main configuration file for the HTTP server by using the Include statement.
Procedure
Restarting the HTTP Server
You must restart the HTTP Server so that the server loads the data collector. Then the HTTP Server agent starts to receive monitoring data from the data collector. If you do not restart the server, the monitoring data is not available. The server acts only as a registered managed system.