How to setup an alert for ubuntu 22.04 VM deployed in azure exceeding 80 % of usage ?

TAZDAIT, Yacine 0 Reputation points
2024-04-24T15:14:00.1733333+00:00

Hello,

I want to set up an alert to be triggered when the usage amount of my Ubuntu 22.04 VM deployed in my Azure cloud instance exceed 80%. However, I can't find any option in the alert tab of the VM's monitoring section. Is it possible to do it ? If it is, how can I achieve such task ?

Any help would be much appreciated.

Regards,

Yacine

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,160 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
975 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 23,496 Reputation points Microsoft Employee
    2024-04-24T16:13:11.5033333+00:00

    Hello, @TAZDAIT, Yacine !

    How do I set up an alert for my VM when it exceeds X% of usage?

    A common task for a VM is to set up an alert when more than a certain amount of resources have been used. You can do this by going to your VM resource and under Monitoring, click on Alerts (80% usage is a preset alert you can select):

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

    1. From the menu for the VM, select Alerts in the Monitoring section. Select View + set up.
    2. Expand each of the alert rules to see its details. By default, the severity for each is Informational. You might want to change to another severity such as Error.
    3. Select Save to create the alert rules.

    User's image

    User's image


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image