Logga testhändelser för distribuerat arbetsflöde

Microsoft.SystemCenter.AgentManagement.LogEndToEndEvent (Rule)

Den här regeln loggar en händelse för varje System Center Management-tjänst för hälsotillstånd som samlas in för att testa händelseinsamling.

Knowledge Base article:

Sammanfattning

Den här regeln körs för varje System Center Management-tjänst för hälsoltillstånd och loggar en händelse. Händelsen samlas in och används för att verifiera att arbetsflödet från slutpunkt till slutpunkt för att samla in händelser fungerar som förväntat. Om du ändrar intervallet för den här regeln kan tillståndet för motsvarande övervakare ändras, eller så skapas en avisering. De motsvarande övervakarna är "Ingen händelse från slutpunkt till slutpunkt under 45 minuter (kritisk nivå)" och "Ingen händelse från slutpunkt till slutpunkt under 30 minuter (varningsnivå)".

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>