How to manually install the AppLogs agent

How to manually install the AppLogs agent

How to manually install or reinstall the AppLogs agent

The AppLogs agent is used to automatically discover and upload your server and application logs to Applications Manager. Applications Manager's AppLogs agent works with the existing Applications Manager FSO agent and comes with AppLogs installed. You can also manually install or reinstall (in case of issues) the AppLogs agent by following the steps below:

Windows

  1. If you have already installed the AppLogs agent, stop the ManageEngine Applications Manager Applog Agent service as an administrator. To accomplish this, navigate to Start → Settings → Control Panel. Under Administrative Tools, click Services. You can also navigate to services.msc from Run.
  2. If you haven't installed the AppLogs agent, then you can directly go to step 3.
  3. Delete the Applogbin folder, if it exists. The path is:
    • C:\Program Files (x86)\ManageEngine\AppManagerWinAgent\monitoring\bin\Applogbin
  4. Download the provided zip file.
  5. Verify the checksum for the AppLogs agent mentioned in the section "Steps to validate checksum for Windows systems" of this document.
  6. After the successful checksum validation, extract the zip file mentioned in step 4 into the path below:
    • C:\Program Files (x86)\ManageEngine\AppManagerWinAgent\monitoring\bin
  7. Check if the Applications Manager Applog Agent service is present. If not, open Command Prompt as an administrator and execute the following command:
    Quote
    sc create "Applications Manager Applog Agent" binPath= "C:\Program Files (x86)\ManageEngine\AppManagerWinAgent\monitoring\bin\Applogbin\MEApplicationsManagerApplogAgent.exe"
  8. Start the ManageEngine Applications Manager Applog Agent service.

Linux

  1. If you have already installed the AppLogs agent, open a Terminal and stop the AppLogs agent by executing the command:
    sudo /opt/ManageEngine/AppManager/FSO-Agent/bin/applogs.sh stop
    If not, go to step 5.
  2. Execute the following command to check if the Applications Manager AppLogs process has been stopped properly:
    ps aux | grep -i applogs
  3. If the AppLogs agent still runs, kill the process using the command:
    sudo kill -9 <process_id>
  4. Delete the /opt/ManageEngine/AppManager/FSO-Agent/lib/applog folder, if it exists.
  5. Download the provided zip file.
  6. Verify the checksum for the AppLogs agent mentioned in the section "Steps to validate checksum for Linux systems" of this document.
  7. After the successful checksum validation, extract the zip file mentioned in step 5 into /opt/ManageEngine/AppManager/FSO-Agent/
  8. Start the agent by executing the command:
    sudo /opt/ManageEngine/AppManager/FSO-Agent/bin/applogs.sh start

Steps to validate checksum for Windows systems

  1. Open Command Prompt from your Windows machine.
  2. Execute the following command:
    • For 32-bit:
      certutil -hashfile applog_windows32.zip SHA256
    • For 64-bit:
      certutil -hashfile applog_windows64.zip SHA256
  3. Download the checksum file based on your architecture (64-bit | 32-bit).
  4. Verify if the value returned in the Command Prompt and the value in the downloaded checksum file are the same.

Steps to validate the checksum for Linux systems

  1. Open the Terminal from your Linux machine.
  2. Execute the following command:
    • For 32-bit:
      sha256sum applog_linux32.zip
    • For 64-bit:
      sha256sum applog_linux64.zip
  3. Download the checksum file based on your architecture (64-bit | 32-bit).
  4. Verify if the value returned in the Terminal window and the value in the downloaded checksum file are the same.

Notes
Note: If the checksum values differ, do not unzip or open the file, and contact appmanager-support@manageengine.com.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Troubleshoot - RUM Agent silent installation

                      RUM Agent silent installation can fail on various factors based on your environment, troubleshoot with the help of error message shown while running the script. Below are the list of the error messages thrown from the script and its troubleshooting ...
                    • How to Install .NET agent on AWS Elastic Beanstalk?

                      One of the two options listed below can be used to install APM Insight agent onto a .NET web application hosted in Elastic Beanstalk environment via ebextensions. Deployment through AWS kit for Visual Studio. Deployment via uploading packages to AWS ...
                    • Average resource utilization by AppLogs agent

                      The table below shows the average resource utilization by the AppLogs agent under typical operating conditions: Metrics Windows Linux CPU <1% 0.3% Memory 40 MB 25 MB Peak Network 2MB in 30 seconds 2MB in 30 seconds Disk 100 MB 100 MB Note: This ...
                    • How do I disable the AppLogs agent (process/service)?

                      In Applications Manager, AppLogs monitoring can be stopped only by disabling the AppLogs sub-agent on the required servers. Existing log data is retained and will not removed. You can disable the AppLogs sub-agent from the FSO Agent management page ...
                    • How to install .NET agent on Azure app services?

                      You can track the performance of your .NET and .NET Core web app's key metrics like response time, throughput, and Apdex score via the APM Insight .NET agent hosted in Azure App Services. Installing APM Insight extension via Azure portal 1. Log in to ...