Configuring HTTP Server agent monitoring
The HTTP Server agent starts automatically after installation. To enable data collection, make sure that the HTTP server is running, and edit the HTTP Server configuration file so that it includes a reference to the HTTP Server agent data collector configuration file..
Before you begin
The directions here are for the most current release of this agent. For information about how to check the version of an agent in your environment, see Agent version command. For detailed information about the agent version list and what's new for each version, see Change history.
- The HTTP Server agent data collector configuration file
-
After you install the HTTP Server agent, it discovers the HTTP server and generates a data collector configuration file in the install_dir/tmp/khu directory where install_dir is the directory where the HTTP Server agent is installed.
If you have multiple HTTP Servers in your environment, one HTTP Server agent configuration file is generated per HTTP server.
The HTTP Server agent configuration file name is composed of two parts and has following format:khu.full path of the HTTP Server configuration file name.conf
The first part of the agent configuration file name is khu, in which hu is the HTTP server agent code.
The second part of the agent configuration file name is created by using the full path and name of the HTTP server configuration file, in which / is replaced by . . For example, possible file names are as follows:
khu.usr.local.apache24.conf.httpd.conf
khu.C.Program Files.IBM.HTTPServer.conf.httpd.confThe HTTP Server agent data collector configuration file contains the following elements:- 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
- The HTTP server configuration file
- Each HTTP server has a configuration file that by default is called http_server_install_dir/conf/httpd.conf, where http_server_install_dir is the directory where the HTTP Server is installed. In some environments, this file name might be customized. Check the exact file name with the HTTP server administrator.