Azure VM added to a data Collection Rule, but the VM is still appearing as not monitored on monitor vm insight

Mohamed jihad bayali 1,136 Reputation points
2022-09-09T14:18:47.48+00:00

Hello,

I'm new to Azure, i just created a virtual machine and intended to monitor it.

I want to monitor it using Azure Agent monitor and not log analytic Agent.

So i started by creating a workspace analytic workspace, then i created a data collection rule, i added my virtual machine to that rule.

After creating the Rule, the monitor agent was deployed successfully on the Azure VM (i can see it on the vm's extension), but the issue is that when i go to monitor,Virtual machines,insight, i see that my VM is still apearing as not monitored and the agent is not enabled, normally it should appear as monitored right?

If i try to enable the agent, the data collection rule that i created isn't appearing on the list, it suggest me to create a new one.

Note that, the Data collection Rule, The analytic workspace, and the virtual machine are hosted on the same Region.

Is there something i'm doing wrong?

Thanks

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,664 questions
0 comments No comments
{count} vote

Accepted answer
  1. AnuragSingh-MSFT 21,551 Reputation points Moderator
    2022-09-13T04:52:34.637+00:00

    Hi @Mohamed jihad bayali ,

    Thank you for reaching out to Microsoft Q&A for this question.

    I see that you have already created DCR (Data Collection Rule) and the VM has required extension enabled. Note that DCR and VMInsights are 2 different features under Azure Monitor for monitoring VMs

    DCR - DCRs specify what data should be collected, how to transform that data, and where to send that data. Here you control what data to collect and where to send it.

    VM Insights - VM insights monitors the performance and health of your virtual machines and virtual machine scale sets, including their running processes and dependencies on other resources. Here, the set of rules for data collection is pre-defined and does not require any tweaking after you enable it.

    Therefore, creating DCR does not automatically enable VMInsights on the VM. It has to be done separately.

    Please let me know if you have any questions.

    ---
    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.