For a single agent, run the following script: To disable configuration for all agents, disable collection from Legacy agents management. etc/opt/microsoft/omsagent//conf/omsagent.d/*.confĮditing configuration files for performance counters and Syslog is overwritten if the collection is configured from the agent's configuration in the Azure portal for your workspace. Performance, Nagios, Zabbix, Log Analytics output and general agent etc/syslog-ng/nf or /etc/nf or /etc/rsyslog.d/nf For more information about the tool and how to run it, see OMS Linux Agent Log Collector. We recommend that you use the Log Collector tool to retrieve important logs for troubleshooting or before you submit a GitHub issue. var/opt/microsoft/omsconfig/omsconfig.log Log Analytics agent configuration log file var/opt/microsoft/omsagent//log/omsagent.log Important log locations and the Log Collector tool File Run the purge script (with sudo permissions): Running the Troubleshooting Tool and Log Collector tool and attempting a clean reinstall helps to solve issues more quickly. This task might be the first suggestion from our support team to get the agent into an uncorrupted state. Purge and reinstall the Linux agentĪ clean reinstall of the agent fixes most issues. Having the logs initially will help our support team troubleshoot your issue faster. Run the Log Collector tool when you experience an issue. The agent has high CPU or memory usage.įor more information, see the Troubleshooting Tool documentation on GitHub.The agent doesn't start or can't connect to Log Analytics.The agent is unhealthy the heartbeat doesn't work properly.The Troubleshooting Tool checks the following scenarios: Unpack the bundle: tar -xzvf omsagent_.Copy the troubleshooter bundle onto your machine: wget.Ensure that the GNU Project Debugger (GDB) is installed on the machine because the troubleshooter relies on it.If installation fails in any way, you can also install the tool manually: The Troubleshooting Tool is automatically included when the Log Analytics agent is installed. Sudo /opt/microsoft/omsagent/bin/troubleshooter Manual installation To run the Troubleshooting Tool, paste the following command into a terminal window on a machine with the Log Analytics agent: Running the tool should be the first step in diagnosing an issue. It's automatically included with the agent upon installation. The Log Analytics agent for Linux Troubleshooting Tool is a script designed to help find and diagnose issues with the Log Analytics agent. This article provides help in troubleshooting errors you might experience with the Log Analytics agent for Linux in Azure Monitor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |