/How to setup an Alert in Azure’s services

How to setup an Alert in Azure’s services

 

From Azure dashboard you’ll see the current status of those Azure services .also its good idea to set up alerts so you can stay on top of incidents and upcoming downtime without visiting the dashboard on a regular basis.

In this demonstration, we will show how to create an alert.

So let’s go into the alerts.

In Azure portal, click on Monitor. The Monitor blade consolidates all your monitoring settings and data in one view.

Now I have not configured any alert rules.

Alert rules are going to allow me to get notified when certain things happen within this resource group.

Click Alerts then click + New alert rule.

 

Go to select resource, to select a target resource that you want to alert on. Use Subscription and Resource type drop-downs to find the resource you want to monitor.

Now I want to add alert for the virtual machine (vm1) inside the MYVMS resource group.

 

 

Once you have selected a target resource, click on Add condition

You can observe a list of signals supported for the resource,

 Define the Alert logic. This will determine the logic which the metric alert rule will evaluate

Now the criteria that I want to alert is when the VM1 is deallocated.

 

 

So I select the signal logic Deallocate Virtual Machine

 

 

This is how its show after I added the condition

 

 

Now we need to create action group with a name.

 

 

 

And here I define the notifications settings with a valid email address, also we can add SMS option if needed.

So I can enter my email address here and it will actually just send me an email alert when someone deallocate the virtual machine.

 

Now I can create the Alert rule,

 

 

 

 

Now I deallocate this vm1 for the demonstration purpose, this will send me an email alert.

 

 

Yes, I got email alert within few minutes.

 

 272 total views,  1 views today