Jump to content













Photo
- - - - -

Monitor & Alert for your Azure VM

  Posted by Pantelis Apostolidis , in Azure 16 July 2018 · 77 views

azure azurerm

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.
Posted Image
You will be navigated to the Monitor blade. At the center of the screen you will see three mail buttons, each starts a wizard.
Posted Image
Click the “Create Alert” under the Explore monitoring essentials, the first of the three buttons.
Posted Image
The create rule wizard will start. First you need to Select target.
Posted Image
Select the subscription, at the Filter resource type select Virtual machines and select the VM from the Resource list.
Posted Image
Once you press the target VM you will see a preview of the selection and the available signals.
Posted Image
After the alert target, select the criteria
Posted Image
At the configure signal login blade, select the signal from the list. I have selected the Restart Virtual Machine.
Posted Image
Once you select the signal you can select the severity level and also you will see the preview of the condition.
Posted Image
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.
Posted Image
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.
https://www.e-aposto...4ce70cead73.png
https://www.e-aposto...4ce6d35407c.png
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:
https://www.e-aposto...4ce7cf57f34.png
More Microsoft Azure guides at Apostolidis IT Corner

 

https://static.addto...save_171_16.png
The post Monitor & Alert for your Azure VM appeared first on Apostolidis IT Corner.


Source