Microsoft Azure Insights Scheduled Query Rule alerts monitor
The monitor validates the state of all alerts raised by Scheduled Query Rule during the past 30 days. If there is at least one not "Closed" Azure Alert for the rule, monitor changes state to Critical. Monitor uses the cookdown mechanism. The configuration passed through the data source needs to be the same between all workflows that access it. It is important to configure monitor overrides ”For all objects of class”, otherwise cookdown will not be performed.
Rule has raised an alert in Azure.
Target | Microsoft.SystemCenter.MicrosoftAzure.Insights.ScheduledRule | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.MicrosoftAzure.Insights.ScheduledQueryRule.Alerts.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.MicrosoftAzure.Insights.ScheduledQueryRule.Alerts.Monitor" TypeID="Microsoft.SystemCenter.MicrosoftAzure.Insights.ScheduledQueryRule.Alerts.MonitorType" Accessibility="Public" Enabled="false" Target="Microsoft.SystemCenter.MicrosoftAzure.Insights.ScheduledRule" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.MicrosoftAzure.Insights.ScheduledQueryRule.Alerts.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.AzureServiceGeneric"]/ServiceName$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/SubscriptionId$</AlertParameter2>
<AlertParameter3>$Target/Host/Host/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='Description']$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Critical" MonitorTypeStateID="Critical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<TimeoutSeconds>300</TimeoutSeconds>
<IntervalSeconds>300</IntervalSeconds>
<TimeRange>720</TimeRange>
</Configuration>
</UnitMonitor>