此规则记录将在每个 System Center 管理运行状况服务收集的、用来测试事件收集的事件。
此规则针对每个 System Center 管理运行状况服务运行,并记录一个事件。 收集此事件并用于验证正确收集事件的端对端工作流是否按预期方式运行。 如果更改此规则的间隔,则可能导致相应的监视器更改状态或生成警报。 相应的监视器是“No End to End Event for 45 Minutes (Critical Level)”和“No End to End Event for 30 Minutes (Warning Level)”。
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>