Schedule demo

AppManagerDataExporter for Linux


The AppManagerDataExporter is an independent process that communicates application metrics and traces to the Applications Manager server.

Installing the AppManagerDataExporter

The AppManagerDataExporter can be installed using any of the following methods:-

Set options using the command-line interface

Follow the steps below to set options using the command-line interface:

  1. Download the installation script.

    wget -O InstallDataExporter.zip https://www.manageengine.com/products/applications_manager/54974026/InstallDataExporter.zip && unzip InstallDataExporter.zip

  2. Execute the installation command with the required options.

    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"

Note:

The list of other available options is given below:

OptionDescription
-lk, -license.keyAPPMANAGER APMInsight License Key
-bp, -behind.proxyThe option for enabling or disabling proxy (Set to true or false)
-pu, -proxy.urlComplete proxy URL
-asp, -agent.status.portInter Process Communication status port number
-adp, -agent.data.portInter Process Communication data port number
-ah, -apm.hostName of the host or IPV4 address where the server is installed and running.
-ap, -apm.portPort number of the host where the server is installed and running.
-aph, -apm.protocol.httpsWhether the data to the server should be sent through HTTPS protocol.

Set options using the Environmental Variables

Follow the steps below to set options using the environmental variables:

  1. Download the installation script.

    wget -O InstallDataExporter.zip https://www.manageengine.com/products/applications_manager/54974026/InstallDataExporter.zip && unzip InstallDataExporter.zip

  2. Set the required options.

    export APM_LICENSE_KEY="licensekey"

    export APM_HOST="appmanager hostname"

    export APM_PORT="appmanager SSL PORT"

    Note:

    The list of other available options is given below:

    OptionDescription
    APM_LICENSE_KEYAPPMANAGER APMInsight License Key
    BEHIND_PROXYThe option for enabling or disabling proxy (Set to true or false)
    PROXY_URLComplete proxy URL
    AGENT_STATUS_PORTInter Process Communication status port number
    AGENT_DATA_PORTInter Process Communication data port number
  3. Execute the installation command.

    sudo -E sh InstallDataExporter.sh

Installing the AppManagerDataExporter without Internet Access

If the machine has no internet access, kindly follow the steps below to install AppManagerDataExporter:

  • Download the Exporter in the application server you want to monitor. Perform checksum verification to verify the integrity of the downloaded exporter file.
  • Extract the downloaded Agent in the opt directory by executing the following command.

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]

Note:

The list of other available options is given below:

OptionDescription
[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
[agent.data.port]Inter Process Communication data port number
[apm.protocol.https]Whether the data to the server should be sent through HTTPS protocol.

Uninstalling the AppManagerDataExporter

Execute the below uninstallation command to uninstall the AppManagerDataExporter.

sudo sh /opt/AppManagerDataExporter/bin/service.sh uninstall

Changing the configuration after installing the AppManagerDataExporter

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.keyAPMInsight license key (APM Tab → Add Monitor → click on the respective agent → copy the license key)
behind.proxyThe option for enabling or disabling proxy (Enter true or false)
proxy.urlComplete proxy URL
agent.status.portInter Process Communication status port number (Restarting AppManagerDataExporter is required)
agent.data.portInter Process Communication data port number (Restarting AppManagerDataExporter is required)
service.log.dirThe path to the directory where logs will be stored
service.log.levelThe logging level (Possible values are INFO, WARNING, DEBUG, and NOLOG)
service.log.sizeLog size limit before rotating the log file (Enter the size in bytes)

Commands to manage AppManagerDataExporter

Following are the commands for managing AppManagerDataExporter:

  • To start AppManagerDataExporter

    service AppManagerDataExporter start

    or

    sh /opt/AppManagerDataExporter/bin/service.sh start

  • To stop AppManagerDataExporter

    service AppManagerDataExporter stop

    or

    sh /opt/AppManagerDataExporter/bin/service.sh stop

  • To restart AppManagerDataExporter

    service AppManagerDataExporter restart

    or

    sh /opt/AppManagerDataExporter/bin/service.sh restart

  • To check the status ofAppManagerDataExporter

    service AppManagerDataExporter status

    or

    sh /opt/AppManagerDataExporter/bin/service.sh status

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

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

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally