Sometimes, you might encounter an issue which couldn’t be solved following the instructions provided on the Troubleshooting section of the Knowledge Base. In such a case, Teramind Support can help. To help the support team diagnose the issue, you can provide them with the Agent log. This article explains how you can collect the log and send it to our support team.
First, you will need to install the TMDIAG tool. This tool is used to collect Teramind Agent logs, conduct diagnostics and debugging by our support team. You can use it’s log capture feature to collect and send the logs.
Download TMDIAG from http://www.teramind.co/d/tmdiag.zip and extract it.
Open the Windows Command Prompt (
cmd.exe) from the TMDIAG folder (make sure you have the admin access). Then, run the following commands on the command prompt:
tmdiag log agent on
tmdiag log svc on restart
This will turn logging on. Wait until the issue is reproduced.
|Please wait after executing the above commands. Only proceed to the next step after the issue is reproduced. Otherwise, the log will not be able to capture information relevant to the issue.|
When the issue occurs, start collecting the log with the following command:
tmdiag collect report
The above command will generate a file named report.zip in the folder where tmdiag.exe is located. Attach the file to the support ticket (or email it to firstname.lastname@example.org) and then disable logging again with:
tmdiag log all off
Restart the agent service with:
tmdiag service tsvchst restart
- Please edit file:
- Add the following line at the end:
log-settings=syslog. Another way you can capture the agent log is to redirecting it to a .log file in the employee's home directory. To do so, use this line instead:
- Open the Terminal app and run the following command to restart the agent service:
- Use Console.app to monitor logs (need filter by process – tmagent for the stealth agent, tmui for the revealed agent).