Rule is used to process list of all Events for the Subscription via Office 365 API and close obsolete Alerts in Operations Manager
The rule calls Office 365 Management API to get list of Resolved Incidents and Messages for the Subscription.
Rule also checks each Alert targeted to the Subscription in Operations Manager and verifies that correcsponding Event, Incident or Message exists in Office 365 monitoring data.
Rule automatically closes all Alerts in Operations Manager that has no corresponding Evenets (e.g. obsolete Alerts)
You can disable this rule using Override to avoid automated Alerts closing.
Target | Microsoft.SystemCenter.O365.Subscription | ||
Category | Alert | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Information | ||
Alert Priority | Low | ||
Remotable | True | ||
Alert Message |
|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SystemCenter.O365.DataSource.AlertAutoclose | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SystemCenter.O365.Rules.AlertAutoclose" Enabled="true" Target="Microsoft.SystemCenter.O365.Subscription" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.O365.DataSource.AlertAutoclose">
<TimeOut>300</TimeOut>
<IntervalSeconds>86400</IntervalSeconds>
<SyncTime/>
<SubscriptionId>$Target/Property[Type="Microsoft.SystemCenter.O365.Subscription"]/SubscriptionId$</SubscriptionId>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>0</Priority>
<Severity>0</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.SystemCenter.O365.AlertAutoclose.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>