The Apache Agent monitors Apache Webservers. Depending on the platform you use — Classic Agent or OneAgent, its architecture and functionality may differ. Find the detailed information below.
See Configure Apache Agent to learn how to configure the Agent.
The Agent for Web Servers consists of two parts:
- The Web Server Module (slave) is the module that is loaded by the web server. It gathers the information that is used for analysis on the AppMon Server.
- The Web Server Master Agent is a separate process that collects data of all worker processes (slaves). It handles communication with the Collector and retrieves configuration data among other functions. See Web Server Maser Agent configuration to learn how to configure this master agent.
The Web Server Modules communicate with the Master Agent through these channels:
- A shared memory segment propagates configuration data, received from the Collector by the Master Agent, to the worker processes and to hold other information that must be shared across all worker processes. The shared memory segment is backed by a file in
<DT_HOME>/agent/confon all platforms where the worker processes and the Agent process must have read/write access.
- The Web Server Modules (slaves) send collected data to the Master Agent through a stateless UDP connection. The Master Agent collects the data, transforms it, and forwards it to the Collector (standalone or Server-embedded).
The Agent for Web Servers consists only of a Web Server Module that is loaded by the web server. It collects data of all worker processes (slaves). It gathers the information that is used for analysis on the AppMon Server. The OneAgent is responsible for handling communication with the Collector. Find more information about OneAgent here.
To use OneAgent you need to install Classic Agents first, and then roll them out to the OneAgent.
Check the Agent log file in the AppMon Client:
You can add the essential modules to the Always capture timings of the following modules list from the Apache Modules sensor properties. These modules are always instrumented. Keep in mind, that the sensor only supports OneAgent.