Download and Install the Apache Agent
- Download the Apache Agent from the Getting Started wizard or https://accounts.appdynamics.com/downloads.
- Extract the agent to
/opt.Note: The agent installs to /opt/appdynamics-sdk-native. This is the <agent_install_directory>. If you are installing multiple agents, you must create separate install directories for each agent.Option Description Alpine and Linux CODEtar -xzvf appdynamics-sdk-native-nativeWebServer-<64bit | 32bit>-<alpine-linux | linux>-<version>.tgz -C /optAIX CODEgzip -c appdynamics-sdk-native-nativeWebServer-64bit-aix-<version>.tgz | tar xvf - -C /opt - Grant the Apache, IHS, or OHS owner read and write permissions to the logs directory: <agent_install_directory>/logs .
- Run the following command to load all the necessary libraries before installation.
We recommend adding this command in the
.bashrcfile. This will eliminate the need to exportLD_LIBRARY_PATHagain and again.CODEexport LD_LIBRARY_PATH=<agent_installation_folder>/sdk_lib/lib - Run
install.sh.This script installs the agent proxy.
Release 26.6.0 introducesCODE<agent_install_directory>/install.sh-multi-process-logginginstall flag.By default, Apache Agent writes logs from monitored Apache child processes to a single log file, with each process independently honoring the configured size limits. When this flag is enabled, Apache Agent coordinates log writes across all child processes so they share the same log file and enforce size limits collectively.
This synchronization can have a significant performance impact, so the feature is disabled by default.
- For an agent to monitor your Apache instance, you must launch the proxy.
If you are monitoring multiple Apache instances, we recommend that you manually launch each proxy, and set
AppDynamicsLaunchProxytoOFFfor every Apache instance.