收集警示

Microsoft.SystemCenter.CollectAlerts (Rule)

此系統規則會收集所有物件的警示資料。

Knowledge Base article:

摘要

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

原因

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

解決方式

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

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategorySystem
EnabledTrue
Alert GenerateFalse
RemotableTrue
Commentthis rule collects all alerts from the agent

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.PublishedAlertProvider Default
WA WriteAction Microsoft.SystemCenter.AlertUpdateWriter Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CollectAlerts" Comment="this rule collects all alerts from the agent" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="High" DiscardLevel="10">
<Category>System</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.PublishedAlertProvider"/>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="SCLibrary!Microsoft.SystemCenter.AlertUpdateWriter" Target="SCLibrary!Microsoft.SystemCenter.CollectionManagementServer"/>
</WriteActions>
</Rule>