Skip to content

Commit 0dd28e0

Browse files
Merge pull request #39284 from hestolz/patch-1
Update agent-linux-troubleshoot.md
2 parents aba583f + 55dcb62 commit 0dd28e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-monitor/platform/agent-linux-troubleshoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ If none of these steps work for you, the following support channels are also ava
4646

4747
>[!NOTE]
4848
>Editing configuration files for performance counters and Syslog is overwritten if the collection is configured from the [data menu Log Analytics Advanced Settings](../../azure-monitor/platform/agent-data-sources.md#configuring-data-sources) in the Azure portal for your workspace. To disable configuration for all agents, disable collection from Log Analytics **Advanced Settings** or for a single agent run the following:
49-
> `sudo su omsagent -c /opt/microsoft/omsconfig/Scripts/OMS_MetaConfigHelper.py --disable`
49+
> `sudo su omsagent -c 'python /opt/microsoft/omsconfig/Scripts/OMS_MetaConfigHelper.py --disable'`
5050
5151
## Installation error codes
5252

0 commit comments

Comments
 (0)