Troubleshooting the Linux Agent
Last updated
Last updated
For Troubleshooting the agent first of all we need to check the status of the service with this command:
systemctl status laservice
This command gives us information about the service status.
For further troubleshooting, we can check the logs in the /linuxagent/logs directory it will give us the both collector and service logs under the directories.
Please check the Linux policies, the rules should be assigned like below. The users can customize the policy rules as their requirements.
After checking the Linux policy, please check the assigned policy group. The default group is "Linux Servers Group", make sure the Linux policies are assigned to the group, if it is not the agent will not start the collection.
To uninstall the agent you can simply execute this command:
service=laservice.service; systemctl stop $service && systemctl disable $service && rm /etc/systemd/system/$service && systemctl daemon-reload && systemctl reset-failed || rm -rf /linuxagent