The AppLogs agent automatically discovers and uploads your server and application logs to Site24x7. Site24x7's AppLogs agent comes installed with the
Site24x7 Full-Stack agent, you can also manually install or reinstall the AppLogs agent by following the instructions below:
- If the AppLogs agent is already installed, then stop the Site24x7 Applog Agent service as an administrator. To do this, navigate to Start > Settings > Control Panel > Administrative Tools > Services.
- Alternatively, open Run (Windows + R), type services.msc and press Enter. If you haven't installed the AppLogs agent, then you can directly go to step 3.
Delete the Applogbin folder, if it exists. The folder will be located at:
64 bit: C:\Program Files (x86)\Site24x7\WinAgent\monitoring\bin\Applogbin
32 bit: C:\Program Files\Site24x7\WinAgent\monitoring\bin\Applogbin
In addition to the bin folder, delete the applog configuration folder located at:
64 bit: C:\Program Files (x86)\Site24x7\WinAgent\monitoring\conf\applog
32 bit: C:\Program Files\Site24x7\WinAgent\monitoring\conf\applog
- 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 servers" of this document.
After the successful checksum validation, extract the zip file downloaded 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 and want to re-install, follow the steps below:
Execute the below command to identify the PID of the AppLogs agent process. If it's not running, proceed to step 1c.
ps aux | grep -i Site24x7Applog
Replace the <process_id> and execute the command below to kill the AppLogs agent.
kill -9 <process_id>
Delete the existing applogs agent folder by executing command below:
rm -r /opt/site24x7/monagent/lib/applog
- Download the relevant AppLogs agent zip file (64 bit | 32 bit | Cross-Platform)
- Verify the checksum of the downloaded AppLogs agent by following the steps outlined in the "Steps to validate checksum for Linux servers" section.
- After the successful checksum validation, extract the zip file mentioned in step 5 into /opt/site24x7/monagent/
Restart the Full-Stack agent by executing the command:
/opt/site24x7/monagent/bin/monagent restart silent
If the Full-Stack agent is installed as non-root, use the respective install directory in the commands and folder path.Steps to validate checksum for Windows servers
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.
Verify if the value returned in the Terminal window and the value in the downloaded checksum file is the same.