Skip to content

Commit a7ff0e7

Browse files
authored
Merge pull request #193735 from austonli/patch-18
Changes to disable container monitoring solution
2 parents 3741469 + 02a14f2 commit a7ff0e7

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
lines changed

articles/azure-monitor/agents/agent-linux.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,16 +176,21 @@ The Log Analytics agent for Linux is provided in a self-extracting and installab
176176
> [!NOTE]
177177
> For Azure VMs, we recommend you install the agent on them using the [Azure Log Analytics VM extension](../../virtual-machines/extensions/oms-linux.md) for Linux.
178178
179+
180+
179181
1. [Download](https://github.com/microsoft/OMS-Agent-for-Linux#azure-install-guide) and transfer the appropriate bundle (x64 or x86) to your Linux VM or physical computer, using scp/sftp.
180182
181183
2. Install the bundle by using the `--install` argument. To onboard to a Log Analytics workspace during installation, provide the `-w <WorkspaceID>` and `-s <workspaceKey>` parameters copied earlier.
182184
183185
>[!NOTE]
184186
>You need to use the `--upgrade` argument if any dependent packages such as omi, scx, omsconfig or their older versions are installed, as would be the case if the system Center Operations Manager agent for Linux is already installed.
185187
186-
```
187-
sudo sh ./omsagent-*.universal.x64.sh --install -w <workspace id> -s <shared key>
188-
```
188+
> [!NOTE]
189+
> Because the [Container Monitoring solution](../containers/containers.md) is being retired, the following documentation uses the optional setting --skip-docker-provider-install to disable the Container Monitoring data collection.
190+
191+
```
192+
sudo sh ./omsagent-*.universal.x64.sh --install -w <workspace id> -s <shared key> --skip-docker-provider-install
193+
```
189194
190195
3. To configure the Linux agent to install and connect to a Log Analytics workspace through a Log Analytics gateway, run the following command providing the proxy, workspace ID, and workspace key parameters. This configuration can be specified on the command line by including `-p [protocol://][user:password@]proxyhost[:port]`. The *proxyhost* property accepts a fully qualified domain name or IP address of the Log Analytics gateway server.
191196
@@ -221,6 +226,10 @@ sudo sh ./omsagent-*.universal.x64.sh --extract
221226
222227
Upgrading from a previous version, starting with version 1.0.0-47, is supported in each release. Perform the installation with the `--upgrade` parameter to upgrade all components of the agent to the latest version.
223228
229+
> [!NOTE]
230+
> There will be a warning message during the upgrade "docker provider package installation skipped" since --skip-docker-provider-install flag is set. If you are installing over an existing omsagent install and wish to remove the docker provider, you should first purge the existing installation and then install using the --skip-docker-provider-install flag.
231+
232+
224233
## Cache information
225234
Data from the Log Analytics agent for Linux is cached on the local machine at *%STATE_DIR_WS%/out_oms_common*.buffer* before it's sent to Azure Monitor. Custom log data is buffered in *%STATE_DIR_WS%/out_oms_blob*.buffer*. The path may be different for some [solutions and data types](https://github.com/microsoft/OMS-Agent-for-Linux/search?utf8=%E2%9C%93&q=+buffer_path&type=).
226235

articles/azure-monitor/containers/container-insights-overview.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ You can access Container insights two ways, from Azure Monitor or directly from
6262

6363
![Overview of methods to access Container insights](./media/container-insights-overview/azmon-containers-experience.png)
6464

65-
If you are interested in monitoring and managing your Docker and Windows container hosts running outside of AKS to view configuration, audit, and resource utilization, see the [Container Monitoring solution](./containers.md).
66-
6765
## Next steps
6866

6967
To begin monitoring your Kubernetes cluster, review [How to enable Container insights](container-insights-onboard.md) to understand the requirements and available methods to enable monitoring.

articles/virtual-machines/extensions/oms-linux.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ The Log Analytics agent extension for Linux requires that the target virtual mac
6464
## Extension schema
6565

6666
The following JSON shows the schema for the Log Analytics agent extension. The extension requires the workspace ID and workspace key from the target Log Analytics workspace; these values can be [found in your Log Analytics workspace](../../azure-monitor/vm/monitor-virtual-machine.md) in the Azure portal. Because the workspace key should be treated as sensitive data, it should be stored in a protected setting configuration. Azure VM extension protected setting data is encrypted, and only decrypted on the target virtual machine. Note that **workspaceId** and **workspaceKey** are case-sensitive.
67+
> [!NOTE]
68+
> Because the [Container Monitoring solution](../../azure-monitor/containers/containers.md) is being retired, the following documentation uses the optional setting "skipDockerProviderInstall": true.
69+
6770

6871
```json
6972
{
@@ -80,7 +83,8 @@ The following JSON shows the schema for the Log Analytics agent extension. The e
8083
"typeHandlerVersion": "1.13",
8184
"autoUpgradeMinorVersion": true,
8285
"settings": {
83-
"workspaceId": "myWorkspaceId"
86+
"workspaceId": "myWorkspaceId",
87+
"skipDockerProviderInstall": true
8488
},
8589
"protectedSettings": {
8690
"workspaceKey": "myWorkSpaceKey"
@@ -128,7 +132,8 @@ The following example assumes the VM extension is nested inside the virtual mach
128132
"type": "OmsAgentForLinux",
129133
"typeHandlerVersion": "1.13",
130134
"settings": {
131-
"workspaceId": "myWorkspaceId"
135+
"workspaceId": "myWorkspaceId",
136+
"skipDockerProviderInstall": true
132137
},
133138
"protectedSettings": {
134139
"workspaceKey": "myWorkSpaceKey"
@@ -153,7 +158,8 @@ When placing the extension JSON at the root of the template, the resource name i
153158
"type": "OmsAgentForLinux",
154159
"typeHandlerVersion": "1.13",
155160
"settings": {
156-
"workspaceId": "myWorkspaceId"
161+
"workspaceId": "myWorkspaceId",
162+
"skipDockerProviderInstall": true
157163
},
158164
"protectedSettings": {
159165
"workspaceKey": "myWorkSpaceKey"
@@ -173,7 +179,7 @@ az vm extension set \
173179
--name OmsAgentForLinux \
174180
--publisher Microsoft.EnterpriseCloud.Monitoring \
175181
--protected-settings '{"workspaceKey":"myWorkspaceKey"}' \
176-
--settings '{"workspaceId":"myWorkspaceId"}'
182+
--settings '{"workspaceId":"myWorkspaceId","skipDockerProviderInstall": true}'
177183
```
178184

179185
## Troubleshoot and support

0 commit comments

Comments
 (0)