How to configure a VMs monthly availability report

MONTANO ARREGUIN, SERGIO 0 Reputation points
2024-10-08T05:36:45.0833333+00:00

I've tried to pull the logs based on heartbeat, but this is not usefull. sometimes, if the heartbeat is not into the logs, it seems like the VM was down, even when it was up and running.

Would somebody help me to get a reliable VM availability report?

Thanks

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,024 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Stanislav Zhelyazkov 24,766 Reputation points MVP
    2024-10-08T13:44:25.6766667+00:00

    Hi,

    Azure VMs has VM availability metrics. You can go to the VM open the metrics view, slect the VM availability metric select a time range and you can see the availability of the VM for the selected period.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. Mahesh Goud Juvvadi 1,240 Reputation points Microsoft Vendor
    2024-10-08T14:55:51.68+00:00

    Hi MONTANO ARREGUIN, SERGIO,

    Thank you for reaching out to the Microsoft Q&A platform.
    Based on your question description we understand that you wanted to take the VMs monthly availability report.

    In addition to @Stanislav Zhelyazkov, 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.

    VM insights stores its data in Azure Monitor Logs, which allows it to deliver powerful aggregation and filtering and to analyze data trends over time. You can view this data in a single VM from the virtual machine directly, or you can use Azure Monitor to deliver an aggregated view of multiple VMs.

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

    • One of the most common monitoring requirements for a virtual machine is to create an alert if it stops running. The best method for this is to create a metric alert rule in Azure Monitor

    Please refer the below document for your reference:

    https://learn.microsoft.com/en-us/azure/azure-monitor/vm/tutorial-monitor-vm-alert-availability

    If an answer has been helpful, please consider accept the answer and "Upvote" to help increase visibility of this question for other members of the Microsoft Q&A community. 

    User's image


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.