You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: defender-endpoint/run-analyzer-macos-linux.md
+25-29Lines changed: 25 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,39 +22,40 @@ search.appverid: met150
22
22
# Run the client analyzer on macOS and Linux
23
23
24
24
**Applies to:**
25
+
25
26
-[Microsoft Defender for Endpoint Plan 1](microsoft-defender-endpoint.md)
26
27
-[Microsoft Defender for Endpoint Plan 2](microsoft-defender-endpoint.md)
27
28
28
29
The XMDEClientAnalyzer is used for diagnosing Microsoft Defender for Endpoint health or reliability issues on onboarded devices running either Linux, or macOS.
29
30
30
31
There are two ways to run the client analyzer tool:
31
32
32
-
1. Using a binary version (no Python dependency)
33
+
1. Using a binary version (no external Python dependency)
33
34
2. Using a Python-based solution
34
35
35
-
36
36
## Running the binary version of the client analyzer
37
37
38
38
1. Download the [XMDE Client Analyzer Binary](https://aka.ms/XMDEClientAnalyzerBinary) tool to the macOS or Linux machine you need to investigate.\
39
39
If you're using a terminal, download the tool by entering the following command:
> The current SHA256 hash of `XMDEClientAnalyzerBinary.zip` that is downloaded from this link is: `4E972F7950EA475A21735042484CD00CED6EA70ED9CBB48B4C9405FFD2706DFA`.
4. Change to the tool's directory by entering the following command:
71
72
72
-
```console
73
+
```bash
73
74
cd XMDEClientAnalyzerBinary
74
75
```
75
76
@@ -84,87 +85,82 @@ If you're using a terminal, download the tool by entering the following command:
84
85
85
86
- Linux
86
87
87
-
```console
88
+
```bash
88
89
unzip -q SupportToolLinuxBinary.zip
89
90
```
90
91
91
92
- Mac
92
93
93
-
```console
94
+
```bash
94
95
unzip -q SupportToolMacOSBinary.zip
95
96
```
96
97
97
98
7. Run the tool as _root_ to generate diagnostic package:
98
99
99
-
```console
100
+
```bash
100
101
sudo ./MDESupportTool -d
101
102
```
102
103
103
104
## Running the Python-based client analyzer
104
105
105
106
> [!NOTE]
106
-
>
107
-
> - The analyzer depends on few extra PIP packages (sh, distro, lxml, pandas) which are installed in the OS when in root to produce the result output. If not installed, the analyzer will try to fetch it from the [official repository for Python packages](https://pypi.org/search/?q=lxml).
108
-
>
109
-
> >[!WARNING]
110
-
> >Running the Python-based client analyzer requires the installation of PIP packages which may cause some issues in your environment. To avoid issues from occurring, it is recommended that you install the packages into a user PIP environment.
111
-
>
112
-
> - In addition, the tool currently requires Python version 3 or later to be installed.
113
-
>
114
-
> - If your device is behind a proxy, then you can simply pass the proxy server as an environment variable to the mde_support_tool.sh script. For example:
> - The analyzer depends on few extra PIP packages (`decorator`, `sh`, `distro`, `lxml`, and `psutil`) which are installed in the operating system when in root to produce the result output. If not installed, the analyzer attempts to fetch it from the [official repository for Python packages](https://pypi.org/search/?q=lxml).
108
+
> - In addition, the tool currently requires Python version 3 or later to be installed on your device.
109
+
> - If your device is behind a proxy, then you can simply pass the proxy server as an environment variable to the `mde_support_tool.sh` script. For example: `https_proxy=https://myproxy.contoso.com:8080 ./mde_support_tool.sh"`.
110
+
111
+
> [!WARNING]
112
+
> Running the Python-based client analyzer requires the installation of PIP packages which may cause some issues in your environment. To avoid issues from occurring, it is recommended that you install the packages into a user PIP environment.
117
113
118
114
1. Download the [XMDE Client Analyzer](https://aka.ms/XMDEClientAnalyzer) tool to the macOS or Linux machine you need to investigate.
119
115
120
116
If you're using a terminal, download the tool by running the following command:
0 commit comments