- Views: 1
- Report Article
- Articles
- Computers
- Software
Azure VmScaleset Alert Configuration
Posted: Oct 22, 2023
As workloads increase or decrease, Azure Virtual Machine Scale Sets (VMSS), a feature of Microsoft Azure, let you install and manage a group of similar virtual machines, often known as instances. The number of instances is automatically scaled by VMSS depending on established criteria and conditions, ensuring that the application can effectively handle fluctuations in demand.
Setting up alerts in Azure VM Scale Sets:
You can set up monitoring and alerts to guarantee the best performance and availability of your application operating on a VM Scale Set. You can set up alerts based on particular measurements and circumstances using Azure’s monitoring tool, Azure Monitor...
Prerequisites:-
- Our role in Azure should have write access to the VMs, so that we can enable Insights in Monitoring and get the Performance status.
First, we have to go to the scaleset where we want to enable monitoring insights. We can enable Insights from Monitoring>> Insights.
- After enabling Insights, we need to configure alert rules, for that Monitoring>> Alerts>> Create
- First we need to create Action Groups before creating Alerts. For that got to Alerts>> Create>> Action group ( we can create Action groups while creating Alert rule ).Create Action Group
While creating action group, we have to specify the Subscription, resource group and Region of the Action group. Once we fill this fields we can give a name to the action group.
Then we can move on to Notifications, from there we can choose 2 types of notifications Email / SMS Message / Push / Voice and Email Azure Management Role. We can go with Email notification type and then we can enter the email address to where we need to push the mail.
Then select what type of action that need to be initiate once the Action group trigger. There are different types of actions:
For pushing notifications to teams we can select the action type as Webhook, once we select it we can enter a name and add the URL which we are generated from the teams channel. Then we can add tags if we want.
Once Action group is created we can test it by using the option Test action group, if the action group configured correctly it will send test alert to email and teams as well.
Once the test alert succeeded we can create Alert rule using the newly created Action group.
For More Information click here Azure VmScaleset Alert Configuration