question

LuigiFalco-5617 avatar image
0 Votes"
LuigiFalco-5617 asked LuigiFalco-5617 answered

Uninstalling OMIAgent

Dear all,
I'm running VM with Ubuntu 20.04.4 LTS. I have OMIAgent that require a lot of RAM. I would to uninstall it definitely.
I uninstalled it throgh Azure Web Portal in the section "Applications + Extensions" of VM. But after some days there is some Azure service that automatically reinstall it.
In which way Can I uninstall it definitely?
Thanks in advance

azure-virtual-machines-extension
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Prrudram-MSFT avatar image
0 Votes"
Prrudram-MSFT answered LuigiFalco-5617 commented

Hello @LuigiFalco-5617,

Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

It appears there is an additional configuration done to auto provision the log analytics OMS agent on your VM. Mostly either it is Microsoft Defender for Cloud or Azure Policy

I would recommend checking the settings under microsoft defender for cloud(MDC)
Toggle the status to Off for the relevant agent.

Toggles to disable auto provisioning per agent type.
204103-image.png

Select Save. When auto provisioning is disabled, the default workspace configuration section is not displayed:
204038-image.png

Note: When auto provisioning is disabled, the configuration cell is empty

Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.



image.png (8.5 KiB)
image.png (45.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks. I try to ask to my IT administrator because probably I don't have privileges to access those settings. I don't visualize those options.

0 Votes 0 ·
LuigiFalco-5617 avatar image
0 Votes"
LuigiFalco-5617 answered

But in meanwhile I deactivate OMI Agent,
the question is: why this agent after some days consumes all VM RAM? It increase memory usage every day as you can se in this graph.
206089-memory.png



memory.png (22.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.