Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into narinem-omi-group-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
NarineM authored Mar 8, 2024
2 parents 776e57f + e1b9e43 commit 080542c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Troubleshooting-Tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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 |
| WARN_ENDPT | 156 | Endpoint SSL connection couldn't be verified |
9 changes: 9 additions & 0 deletions tools/LogCollector/OMS_Linux_Agent_Log_Collector.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 080542c

Please sign in to comment.