alert

Monitor & Alert for your Azure VM

Monitor & Alert for your Azure VM

Lets see how easy it is to monitor and create an alert, in order to be notified when your VMs are restarted, when they start, stop, get high CPU usage, memory and much more.

First navigate to the Azure Portal https://portal.azure.com, and then click the Monitor button.

alert

You will be navigated to the Monitor blade. At the center of the screen you will see three mail buttons, each starts a wizard.

alert

Click the “Create Alert” under the Explore monitoring essentials, the first of the three buttons.

alert

The create rule wizard will start. First you need to Select target.

alert

Select the subscription, at the Filter resource type select Virtual machines and select the VM from the Resource list.

alert

Once you press the target VM you will see a preview of the selection and the available signals.

alert

After the alert target, select the criteria

alert

At the configure signal login blade, select the signal from the list. I have selected the Restart Virtual Machine.

alert

Once you select the signal you can select the severity level and also you will see the preview of the condition.

alert

After that give a name and a description for the alert. Also select the resource group where the alert will be saved and if you want the alert to be enabled upon creation.

alert

The next step is to create an action group. The action group is the list of accounts to get the notifications when the alert is triggered. The notification can be email, SMS, Push Notifications and Voice call. You can add many action groups and many action in each group.

alert

alert

Now the alert is ready. Once the alert is triggered you will be notified. At this example I added an email alert and once the VM restarted I received the following email:

alert

More Microsoft Azure guides at Apostolidis IT Corner

 

Share

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.