Skip to main content
Azure - Alert Rule Duplication saves some time

#cloud #azure

Hi All!

Apart from resource(s) provisioning, it is responsibility of admins to enable some monitor mechanishm for resorce(s) health too as per customer need. When some unexpected or predicted conditions met, it should alert the customer to take some precautions and avoid the whole resource/application becomes inacccessible.

This article is not going to describe about creating alert(s) instead we are going to see the Duplicating Alert in azure portal.

Some of you would have a question that why should I duplicate it? I can create it instead right?

Your thought is correct.

Below are the main components we need to consider while creating alerts

  • Scope - single resource level or resource group level or subscription level
  • Condition - Signals - Http errors or health check or Http 4xx etc.,
  • Actios - Notification to Action Group - email or SMS or voice etc and Actions - trigger function app or logic app or automation accont etc

Consider a scenario that you want to create an alert rule as similar as an existing with a simple change that action group change. So Here Instead of creating an alert rule from the beginning, you can duplicate it and change that place only where changes required. Now new alert rule is ready.

Note: Duplicate alert option would not be available/enabled for all the alert rule(s).

Comments

Popular posts from this blog

Azure Static Web Apps - Plan Comparison #cloud #azure Hi All! Azure Static web app is a good service when we have static web apps like javacript frameworks and libraries applictions (Ex: Angular, React, Svelte, Vue, Blazor). It also supports Python 3.10 based static web app as well as per the latest azure news. Other advantage of it is coupled with your Azure AD. so that your code can be directly pushed to azure static web app via either Azure DevOps or Github whenever code push occurs. At the time of azure static web app creation, it asks for deployment source as any one of the below. Based on the selection, it allows you to select the organization, project and repositories from the source. Azure DevOps - Azure AD connected Devops organizations will be listed out Github Other - For ex: If you want to deploy code from other organization. Below table will be helpful to choose the best pricing plan for your workload. Plan/Feature Free Standard ...
Azure - Change custom lookback period for Azure Advisor VM/VMSS right-sizing recommendations #cloud #azure Hi All! Azure Advisor advises/recommeds us to optimize our cloud resources in various places like scaling, security, sizing, performace, cost etc., Now azure releases a new feature that changing lookback period for azure VM/VMSS to get right sizing. Let's consider a scenario that a company is running business and it has some workloads in either azure VM or VMSS. Some of the times VM's usage like CPU or memory is high. Due to this, application performace may be slower adnd user feels some bad experience. Company asks its azure admin to investigate it and when he/she viewd at azure advisor first, it recommends some solution based on last 7 days usage of VM. Here, Company needs the VM usage details biweekly or in someother pattern, not with the default 7 days. Here the new custom lookback period helps to achieve what the company wants. By this featur...
Difference between failed() vs succeededorFailed() in Devops YAML Every organizations embrace Devops culture for CI & CD. Nowadays, everybody prefers YAML which is IaC (Infrastructure as Code) instead of classic UI editor. YAML consists main components as stages, jobs, steps, tasks.... etc., Based on the requirement, Devops engineers need to apply conditions on pipline between tasks or jobs or stages. what is condition? when I want to run a task or job based on some condition like only when my preferred another job failed or succeeded. Here I job1 and job2. I need to run job2 only if job1 fails. Let's see the difference between failed() and succeededorFailed() through the below image.