How to create an alert for a VM run over x hours?

Nhan Nguyen 41 Reputation points
2021-01-09T12:18:33.51+00:00

Hello,

I would like to create an alert to email when a VM is running over x hours.
Is anyone can help?

Thanks,
Nhan

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,479 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,394 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,496 Reputation points Microsoft Employee
    2021-01-09T13:09:52.023+00:00

    @NguynChNhn-3989 There is a similar thread discussion in the SO forum, please refer to the suggestion

    Create alerts from Azure Monitor for VMs

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    ------------------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


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.