記錄分散式工作流程測試事件

Microsoft.SystemCenter.AgentManagement.LogEndToEndEvent (Rule)

此規則記錄每項健全狀況服務 (將收集用來測試事件集合) 的事件。

Knowledge Base article:

摘要

此規則會於每個 HealthService 和記錄檔與事件中執行。會收集此事件並用以確認要正確收集事件的端對端工作流程如預期運作。

原因

本部分不適用此規則。

解決方式

沒有可以為此規則執行的解決方式,因為它不會產生狀態或警示。

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategorySystem
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.SimpleScheduler Default
LogE2EEvent WriteAction Microsoft.SystemCenter.AgentManagement.LogEvent Default

Source Code:

<Rule ID="Microsoft.SystemCenter.AgentManagement.LogEndToEndEvent" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>System</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>900</IntervalSeconds>
<SyncTime>01:00</SyncTime>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="LogE2EEvent" TypeID="Microsoft.SystemCenter.AgentManagement.LogEvent">
<TimeoutSeconds>300</TimeoutSeconds>
</WriteAction>
</WriteActions>
</Rule>