What is the best way to monitor Windows VM with Azure policy

Christoffer Ulvestav 21 Reputation points
2022-08-28T20:55:24.513+00:00

Hello,

I have been looking into automate monitoring for virtual machines in Azure with Azure policys. I have tried diffrent custom policys but have not found a good solution.

Please let me know if you have any good idea.

Not this one bellow. I have tried these policys and it is for the legacy extansion :)

https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-enable-policy

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
1,019 questions
0 comments No comments
{count} votes

Accepted answer
  1. David Broggy 6,291 Reputation points MVP Volunteer Moderator
    2022-08-29T17:47:22.6+00:00

    My approach:
    Onbaord Azure Arc to your servers (on-prem and in Azure)
    Enable AMA via a data collection rule: Azure Monitor > Data Collection Rule > Create.
    (Arc will be used to push out the AMA agent to all servers you specified in the scope of your data collection rule.

    Hope it helps.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Andrew Blumhardt 10,051 Reputation points Microsoft Employee
    2022-08-29T02:50:36.497+00:00

    The AMA option in in public preview. VM Insights has not fully moved over to the newer agent. This will enable the VM Insights views. Custom alert rules and additional data collections may be needed to meet your specific monitoring requirements.

    https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-enable-overview#agents

    0 comments No comments

  2. Christoffer Ulvestav 21 Reputation points
    2022-08-29T21:42:46.197+00:00

    Thank you for your answers.

    I went with the build in AMA and data collection rule policy.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.