Articles → MICROSOFT AZURE → Create Alerts In Microsoft Azure
Create Alerts In Microsoft Azure
Purpose
Example
- Create a virtual machine.
- Inside the virtual machine, create an action group.
- Create an alert.
Create A Virtual Machine
Create An Action Group
- Click on the virtual machine name.
Click to Enlarge
- In the details screen, search the "alert".
- In the "alerts" section, there is an option to create an action.
Click to Enlarge
- In the Manage actions screen, there is a button with the caption "Add action group" for adding a new action group. Click on the button.
Click to Enlarge
- In the add screen, enter the fields "Action group name" and the "Display name".
Click to Enlarge
- Click on the button "Next: Notifications >".
- In the notification section, select the "Notification type". For this example, I am selecting the option "Email/SMS message/Push/Voice".
- Once the select the option, you have any option to configure all the notification types. For this example. I am only configuring email.
Click to Enlarge
- Click on the button "Review + create" and finally click the "Create" button to create an action group.
Create An Alert
- Click on the "New alert rule" button.
Click to Enlarge
- A create rule screen will come. In the first part of the screen, the scope of an alert will be displayed.
Click to Enlarge
- In the second section, you have to specify the trigger i.e. the event when action should take place. For doing that, click on the link "Select condition".
- A slider window will appear on the right-hand side. In the slider window, select the "Signal Name" as "Start Virtual Machine (Microsoft.Compute/virtualMachines)".
Click to Enlarge
- On click of the signal name, another image will appear. Click on the "Done" button.
Click to Enlarge
- Finally, enter the rule name and click on the "Create alert rule" button.
Click to Enlarge
Output
Click to Enlarge