Share via

Checking VM availability

Vinoth Kaliaperumal 386 Reputation points
2023-05-24T11:30:33.5833333+00:00

I would like to check availability of all the virtual machines present in environment at a go without using insights.

Do we have any option!

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

Alistair Ross 7,556 Reputation points Microsoft Employee
2023-05-24T11:47:41.8+00:00

Hello @Vinoth Kaliaperumal

  • One way you can check the availability is with Azure Resource Graph. https://learn.microsoft.com/en-us/azure/virtual-machines/resource-graph-availability. You can then visualise this using Azure Dashboard or workbooks.
  • There are also workbooks available within Azure Monitor for Availability tracking
  • If the AMA / MMA agents are installed, you can run Log Analytic queries based on agent heartbeats
  • Finally you can query the VM status, or run the KQL queries via the API / PowerShell.
  • There is also a VmAvailabilityMetric which you can monitor in Metrics explorer

kind regards

Alistair

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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