NGINX Agent

The NGINX Agent monitors NGINX Webservers. Depending on the agent platform you use, its architecture and functionality may differ. Find the detailed information below.

See Configure NGINX Agent to learn how to configure the Agent.

Architecture

Classic 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.

Communication

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/conf on 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).

AppMon Agent

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 AppMon Agent is responsible for handling communication with the Collector. Find more information about AppMon Agent platform here.

To use AppMon Agent you need to install Classic Agents first, and then switch the platform.

Sensors

Sensor Classic Agent AppMon Agent
Webserver sensor Yes Yes
NGINX modules No Yes
User Experience sensor Yes Yes

FAQ