Azure / Azure-Proactive-Resiliency-Library-v2

Azure Proactive Resiliency Library v2 (APRL) - Source for Azure WAF reliability guidance and associated ARG queries
https://azure.github.io/Azure-Proactive-Resiliency-Library-v2/
MIT License
68 stars 82 forks source link

🪲 Bug Report - Configure monitoring for VMs ARG does not check Data Collection Rules #363

Open judyer28 opened 3 months ago

judyer28 commented 3 months ago

Describe the bug

The ARG query for Configure monitoring for VMs is only checking for legacy Azure Diagnostic Extension. This does not catch if a user is using Azure Monitor Agent with Data Collection Rules to send guest performance counters and event logs to a Log Analytics Workspace.

To Reproduce

Steps to reproduce the behaviour:

  1. Fill
  2. Me
  3. In

Expected behaviour

Should not flag recommendation if the VM is using AMA with DCRs to send performance counter\events to LAWs

Screenshots 📷

If applicable, add screenshots to help explain your problem. Please feel free to blur/cover any sensitive information.

Additional context

Anything else we should know to help us troubleshoot this bug?

ejhenry commented 2 months ago

@lshaible - can you confirm this is the same issue you've seen?

ejhenry commented 2 months ago

cc @rohilla-shweta

lshaible commented 2 months ago

@lshaible - can you confirm this is the same issue you've seen?

Yes, this is true

ejhenry commented 23 hours ago

@judyer28 we'll disable the ARG query for this recommendation until we have a working version.