From e1b9e4366af142974d4d9a08675ef33490c000ed Mon Sep 17 00:00:00 2001 From: aswatt <54380303+aswatt@users.noreply.github.com> Date: Mon, 12 Feb 2024 11:04:36 -0800 Subject: [PATCH] Update TST + LC Docs (#1552) --- docs/Troubleshooting-Tool.md | 4 ++-- tools/LogCollector/OMS_Linux_Agent_Log_Collector.md | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/Troubleshooting-Tool.md b/docs/Troubleshooting-Tool.md index 1fb6719df..95760034e 100644 --- a/docs/Troubleshooting-Tool.md +++ b/docs/Troubleshooting-Tool.md @@ -14,7 +14,7 @@ The OMS Linux Troubleshooter is designed in order to help find and diagnose issu ## Installing the Troubleshooter -The OMS Troubleshooter is automatically installed upon installation of the OMS Agent. However, if installation fails in any way, it can also be installed manually by following the steps below. +**The OMS Troubleshooter is automatically installed upon installation of the OMS Agent.** However, if installation fails in any way, it can also be installed manually by following the steps below. ### Manual Install of the Troubleshooter 1. Copy the troubleshooter bundle onto your machine: `wget https://raw.github.com/microsoft/OMS-Agent-for-Linux/master/source/code/troubleshooter/omsagent_tst.tar.gz` @@ -152,4 +152,4 @@ Below is a list of the errors that can be caught by the troubleshooter: | ERR_BACKEND_CONFIG | 153 | Can't pull config from backend | | ERR_PYTHON_PKG | 154 | Missing Python package | | WARN_INTERNET | 155 | Couldn't verify SSL connection to internet | -| WARN_ENDPT | 156 | Endpoint SSL connection couldn't be verified | \ No newline at end of file +| WARN_ENDPT | 156 | Endpoint SSL connection couldn't be verified | diff --git a/tools/LogCollector/OMS_Linux_Agent_Log_Collector.md b/tools/LogCollector/OMS_Linux_Agent_Log_Collector.md index 1a957c6f5..62f9f72d1 100644 --- a/tools/LogCollector/OMS_Linux_Agent_Log_Collector.md +++ b/tools/LogCollector/OMS_Linux_Agent_Log_Collector.md @@ -10,6 +10,15 @@ Make sure the target Linux server has the following software installed: You can use OMS Log collector to collect logs for both failed and successful installations of the OMS Linux Agent. ## Log Collector Download: + +The Log Collector is automatically installed with the OMS Agent via the [OMS Troubleshooting Tool](https://github.com/microsoft/OMS-Agent-for-Linux/blob/master/docs/Troubleshooting-Tool.md). It can be found by running the Troubleshooting Tool: +``` +sudo /opt/microsoft/omsagent/bin/troubleshooter +``` +And choosing Option `L` after startup. + +However, if for some reason the Troubleshooting Tool is not installed or working, the Log Collector can be downloaded manually: + - Download the tool and copy to any directory of your choice: ``` wget https://github.com/Microsoft/OMS-Agent-for-Linux/raw/master/tools/LogCollector/download/v7/omslinux_agentlog.tgz