The AppManagerDataExporter is an independent process that communicates application metrics and traces to the Applications Manager server.
The AppManagerDataExporter can be installed using any of the following methods:-
Follow the steps below to set options using the command-line interface:
wget -O InstallDataExporter.zip https://www.manageengine.com/products/applications_manager/54974026/InstallDataExporter.zip && unzip InstallDataExporter.zip
sudo sh InstallDataExporter.sh -lk "licensekey" -ah "appmanager host name" -ap "appmanager SSL Port"
or
sudo sh InstallDataExporter.sh -lk "licensekey" -apm.host "applications manager host name" -apm.port "SSL port of applications manager"
The list of other available options is given below:
| Option | Description |
|---|---|
| -lk, -license.key | APPMANAGER APMInsight License Key |
| -bp, -behind.proxy | The option for enabling or disabling proxy (Set to true or false) |
| -pu, -proxy.url | Complete proxy URL |
| -asp, -agent.status.port | Inter Process Communication status port number (Default: 20021) |
| -adp, -agent.data.port | Inter Process Communication data port number (Default: 20022) |
| -ah, -apm.host | Name of the host or IPV4 address where the server is installed and running. |
| -ap, -apm.port | Port number of the host where the server is installed and running. |
| -aph, -apm.protocol.https | Whether the data to the server should be sent through HTTPS protocol. |
Follow the steps below to set options using the environmental variables:
wget -O InstallDataExporter.zip https://www.manageengine.com/products/applications_manager/54974026/InstallDataExporter.zip && unzip InstallDataExporter.zip
export APM_LICENSE_KEY="licensekey"
export APM_HOST="appmanager hostname"
export APM_PORT="appmanager SSL PORT"
The list of other available options is given below:
| Option | Description |
|---|---|
| APM_LICENSE_KEY | APPMANAGER APMInsight License Key |
| BEHIND_PROXY | The option for enabling or disabling proxy (Set to true or false) |
| PROXY_URL | Complete proxy URL |
| AGENT_STATUS_PORT | Inter Process Communication status port number |
| AGENT_DATA_PORT | Inter Process Communication data port number |
sudo -E sh InstallDataExporter.sh
If the machine has no internet access, kindly follow the steps below to install AppManagerDataExporter:
cd /opt
sudo unzip <exporter_file_name>
Navigate to the bin folder which is present under the Agent Extracted path and execute the following command
sudo sh service.sh install -license.key [license.key] -apm.host [apm.host] -apm.port [apm.port]
The list of other available options is given below:
| Option | Description |
|---|---|
| [apm.host] | Host of Applications Manager |
| [apm.port] | SSL Port of Applications Manager |
| [licenseKey] | The license key. To copy License key, navigate APM → Add monitor page → Python |
| [behind.proxy] | The option for enabling or disabling proxy (Set to true or false) |
| [proxy.url] | Complete proxy URL |
| [agent.status.port] | Inter Process Communication status port number (Default: 20021) |
| [agent.data.port] | Inter Process Communication data port number (Default: 20022) |
| [apm.protocol.https] | Whether the data to the server should be sent through HTTPS protocol. |
Note: "appmanager-user" user/group is automatically created as part of the AppManagerDataExporter installation process. This is a security best practice to ensure the Data Exporter runs under a restricted service account instead of root. It is required for secure data collection from APMInsight agents and does not impact any existing users or application permissions.
Execute the below uninstallation command to uninstall the AppManagerDataExporter.
sudo sh /opt/AppManagerDataExporter/bin/service.sh uninstall
Modify the configuration.json file located in the /opt/AppManagerDataExporter/conf directory.
Note: The installation path depends on the directory specified during setup (e.g., /opt/AppManagerDataExporter).
| Option | Description |
|---|---|
| license.key | APMInsight license key (APM Tab → Add Monitor → click on the respective agent → copy the license key) |
| behind.proxy | The option for enabling or disabling proxy (Enter true or false) |
| proxy.url | Complete proxy URL |
| agent.status.port | Inter Process Communication status port number. Default: 20021 (Restarting AppManagerDataExporter is required) |
| agent.data.port | Inter Process Communication data port number. Default: 20022 (Restarting AppManagerDataExporter is required) |
| service.log.dir | The path to the directory where logs will be stored |
| service.log.level | The logging level (Possible values are INFO, WARNING, DEBUG, and NOLOG) |
| service.log.size | Log size limit before rotating the log file (Enter the size in bytes) |
Following are the commands for managing AppManagerDataExporter:
service AppManagerDataExporter start
sh /opt/AppManagerDataExporter/bin/service.sh start
service AppManagerDataExporter stop
sh /opt/AppManagerDataExporter/bin/service.sh stop
service AppManagerDataExporter restart
sh /opt/AppManagerDataExporter/bin/service.sh restart
service AppManagerDataExporter status
sh /opt/AppManagerDataExporter/bin/service.sh status
It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development