Azure alert on multipel subscriptions
Hi all,
i am not sure if this is the rigt place, but here goes.
I am working on creating a monitoring solution, and are trying to create some dynamic alert rules.
I need them to look on a lot of subscriptions, but when use chose scope, you can only chose one subscription.
So i have exported the template and add’ed another subscription in the scopes section, but will it work?
This is what the properties section looks like in the template, it is looking on cpu usage over time:
Hi all, i am not sure if this is the rigt place, but here goes. I am working on creating a monitoring solution, and are trying to create some dynamic alert rules.I need them to look on a lot of subscriptions, but when use chose scope, you can only chose one subscription.So i have exported the template and add’ed another subscription in the scopes section, but will it work? This is what the properties section looks like in the template, it is looking on cpu usage over time:”properties”: { “description”: “Dynamic warning on CPU ussage”, “severity”: 2, “enabled”: true, “scopes”: [ “/subscriptions/Sub1”, “/subscriptions/Sub2” ], “evaluationFrequency”: “PT15M”, “windowSize”: “PT1H”, “criteria”: { “allOf”: [ { “alertSensitivity”: “High”, “failingPeriods”: { “numberOfEvaluationPeriods”: 4, “minFailingPeriodsToAlert”: 4 }, “name”: “Metric1”, “metricNamespace”: “microsoft.compute/virtualmachines”, “metricName”: “Percentage CPU”, “operator”: “GreaterOrLessThan”, “timeAggregation”: “Average”, “criterionType”: “DynamicThresholdCriterion” } ], “odata.type”: “Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria” }, Any input is more than welcome 🙂 RegardsJan L Dam Read More