@abysbe - Welcome to Microsoft Q&A and thanks for reaching out to us.
Please ensure that you need to install the Azure Arc agent on the VM and configure it to communicate with your Log Analytics workspace. Please check below and ensure the prereqs are met.
Prerequisites:
- The VM must be running a supported version of Linux. For a list of supported operating systems, check this doc.
- You must have a Log Analytics workspace to collect and analyze the VM's logs and metrics.
Steps:
- Install the Azure Arc agent on the Linux VM. You can do this manually or by using a configuration management tool such as Ansible or Puppet.
- Configure the Azure Arc agent to communicate with your Log Analytics workspace. You can do this by setting the
workspace_id
andworkspace_key
parameters in the agent configuration file. - Enable guest management for the VM in the Azure portal. To do this, go to the Azure portal, navigate to the VM, and click on "Guest Configuration" in the left-hand menu. Then, click on "Enable" under "Guest Configuration Management". This will install the necessary extensions on the VM to enable guest management.
After the above steps are done, you should be able to manage the Linux VM using Azure management services such as Azure Monitor and Azure Security Center. Note that some management services may require additional configuration or setup.
Hope this helps. and please feel free to reach out if you have any further questions.
Please don't forget to "Accept as Answer" and click "Yes" if the above response is helpful, so it can be beneficial to the community.