收集監視產生的警示

Microsoft.SystemCenter.CollectMonitorAlert (Rule)

此系統規則會收集由監視所產生的警示。

Knowledge Base article:

摘要

此規則為內部使用,用以收集整個管理群組之監視產生的所有警示。不應覆寫此規則,否則會對監視有負面影響。

原因

本部分不適用此規則類型。

解決方式

此規則類型不需要任何使用者動作。

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategorySystem
EnabledTrue
Alert GenerateFalse
RemotableTrue
Commentthis rule collects alerts of all monitors

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Health.TargetGroupMonitorAlertProvider Default
WA WriteAction Microsoft.SystemCenter.CollectAlert Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CollectMonitorAlert" Comment="this rule collects alerts of all monitors" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="10">
<Category>System</Category>
<DataSources>
<DataSource ID="DS" TypeID="Health!System.Health.TargetGroupMonitorAlertProvider"/>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="SCLibrary!Microsoft.SystemCenter.CollectAlert"/>
</WriteActions>
</Rule>