Logs help you to maintain, manage, and track records of all events and activities on a device, an application, or even a server machine. Log Maintenance can be very useful in searching, analyzing, and detecting unexpected behaviors of a system.
Similarly, SureMDM when installed on a Linux server starts gathering logs of the activities performed on the system. The same logs are used to get to the root cause of any issue reported on the server machine running with SureMDM.
The below steps can be used to gather the logs of SureMDM agents related to remote support for further analysis by 42Gears technicians.
In order to gather the SureMDM Agent logs on the Linux system, please use the below command
1: Open ‘Terminal’ on Linux machine
2: Type in the below command
Command: cat /var/log/syslog | grep nix
3: Copy the content which is displayed after the above command till the next shell prompt appears on the terminal
Step 4: Paste the copied values on a test file
Step 5: Save the file with the name as Nix_Linux.logs
Note: Admin can also skip the step 3 and step 4 by using the below command
Command: cat /var/log/syslog | grep nix > Nixlog.txt
The above command will directly copy the content of “cat /var/log/syslog | grep nix ” to the file Nixlog.txt. The user doesn’t have to use the copy/paste option manually.
Once done, please share the same with the 42Gears Technical support team for further analysis.
To read more about SureMDM for Linux, click here
If you need further assistance, please submit a ticket here