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
- If you have already installed the AppLogs agent, stop the Site24x7 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.
If you haven't installed the AppLogs agent, then you can directly go to step 3. - 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 - Download the zip file (64 bit | 32 bit).
- Verify the checksum for the AppLogs agent mentioned in the section "Steps to validate checksum for Windows systems" of this document.
- After the successful checksum validation, extract the zip file mentioned in Step 3 into the path below:
For 64 bit: C:\Program Files (x86)\Site24x7\WinAgent\monitoring\
For 32 bit: C:\Program Files\Site24x7\WinAgent\monitoring\ - 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" - Start the Site24x7 Applog Agent service.
Linux
- 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. - Execute the following command to check if the Site24x7 process has been killed properly:
ps aux | grep -i Site24x7 - If the AppLogs agent still runs, kill the process using the command:
sudo kill -9 <process_id> - Delete the /opt/site24x7/monagent/lib/applog folder, if it exists.
- Download the zip file (64 bit | 32 bit).
- Verify the checksum for the AppLogs agent mentioned in the section "Steps to validate checksum for Linux systems" of this document.
- After the successful checksum validation, extract the zip file mentioned in step 5 into /opt/site24x7/monagent/
- Start the agent by executing the command:
sudo /etc/init.d/site24x7monagent start
Steps to validate checksum for Windows systems
- Open Command Prompt from your Windows machine.
- Execute the following command:
For 32-bit: certutil -hashfile applog_windows32.zip SHA256
For 64-bit: certutil -hashfile applog_windows64.zip SHA256 - Download the checksum file based on your architecture (64-bit | 32-bit).
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
- Open the Terminal from your Linux machine.
- Execute the following command:
For 32-bit: sha256sum applog_linux32.zip
For 64-bit: sha256sum applog_linux64.zip - Download the checksum file based on your architecture (64-bit | 32-bit).
Verify if the value returned in the Terminal window and the value in the downloaded checksum file is the same.
Related Articles
APM Insight .NET agent bulk installation using ManageEngine Endpoint Central
You can install the APM Insight .NET agent on multiple machines at once by following the steps given below: Download the APM Insight .NET agent from the Site24x7 account. Log in to the ManageEngine Endpoint Central portal and click the Software ...
How to set the PHP path during agent installation?
This is only applicable to the agent versions 4.2 and above. For Linux Step 1: Download the installation script. wget -O InstallAgentPHP.sh https://staticdownloads.site24x7.com/apminsight/agents/AgentPHP/linux/InstallAgentPHP.sh Step 2: Set your PHP ...
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 ...
Prerequisites for Java agent installation
For a smooth Java agent installation, ensure that you've fulfilled the following prerequisites. The environment should have Java version 8 or above installed. The application user should have full permissions over the agent directory. The server ...
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 ...