How to manually install the AppLogs agent

How to manually install the AppLogs agent

The AppLogs agent is used to automatically discover and upload your server and application logs to Site24x7. Site24x7's AppLogs agent works with an existing Site24x7 server monitoring 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 Site24x7 Applog Agent service as an administrator. For this, navigate to Start > Settings > Control Panel. Under Administrative Tools, click Services. You can also navigate to services.msc from Run.
    If you haven't installed the AppLogs agent, then you can directly go to step 3.
  2. Delete the Applogbin folder, if it exists. The path is
    64 bit: C:\Program Files (x86)\Site24x7\WinAgent\monitoring\bin\Applogbin
    32 bit: C:\Program Files\Site24x7\WinAgent\monitoring\bin\Applogbin
  3. Download the zip file (64 bit | 32 bit) and extract it into C:\ProgramFiles\Site24x7\WinAgent\monitoring\
  4. Check if the Site24x7 Applog Agent service is present. If not, open Command Prompt as an administrator and execute the following command:
    sc create "Site24x7 Applog Agent" binPath= "C:\Program Files (x86)\Site24x7\WinAgent\monitoring\bin\Applogbin\Site24x7ApplogAgent.exe"
  5. Start the Site24x7 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 /etc/init.d/site24x7monagent stop 
    If not, go to step 5.
  2. Execute the following command to check if the Site24x7 process has been killed properly:
    ps aux | grep -i Site24x7
  3. If the AppLogs agent still runs, kill the process using the command:
    sudo kill -9 <process_id>
  4. Delete the /opt/site24x7/monagent/lib/applog folder, if it exists.
  5. Download the zip file (64 bit | 32 bit) and extract it into /opt/site24x7/monagent/
  6. Start the agent by executing the command:
    sudo /etc/init.d/site24x7monagent start


    • Related Articles

    • How do I disable the AppLogs agent (process/service)?

      When you disable the AppLogs agent, log collection on that server will stop and the AppLogs Agent service/process will not run in your server. To disable the AppLogs agent: Navigate to the Server tab. Click on the server monitor in which the agent ...
    • Average resource utilization by AppLogs agent

      Metrics Windows Linux CPU < 1% 0.3% Memory 40 MB 25 MB Peak network 2 MB in 30 seconds 2 MB in 30 seconds Disk 100 MB 100 MB This resource utilization is subject to change when more log types are associated with a single server or the same AppLogs ...
    • APM Insight agent log paths

      Folder path to view One agent logs One agent logs can be found only in the common application folder in Windows (usually under C:\ProgramData from Vista onwards). Check the following folder path in Windows: C:\ProgramData\Site24x7APMOneAgent\Logs  ...
    • Configure a proxy for a Linux server monitoring agent during installation

      When you install Site24x7's Linux server monitoring agent, use one of the below mentioned commands depending upon your proxy configuration requirements. Scenario 1: Proxy with authentication bash Site24x7InstallScript.sh -i -key=<DEVICE_KEY> ...
    • How to fix a SSL connection error when downloading the Site24x7 Linux server monitoring agent installer

      In a few scenarios, when you try to download the Site24x7 Linux server monitoring agent installer, an SSL connection failure error message will display. Follow the instructions below based on your use case to fix this error. Prerequisite: For ...