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.
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å)".
Target | Microsoft.SystemCenter.HealthService |
Category | System |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Scheduler | DataSource | System.SimpleScheduler | Default |
LogE2EEvent | WriteAction | Microsoft.SystemCenter.AgentManagement.LogEvent | Default |
<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>