Regla para alertar si un servicio de mantenimiento se puede registrar en el registro de eventos
Operations Manager usa esta regla internamente. Al invalidar esta regla, se producirá un comportamiento que tal vez no sea el que espera.
Target | Microsoft.SystemCenter.HealthServiceWatchersGroup |
Category | System |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SystemCenter.HealthServiceWatcher.Composite.OnDemand.DataSource | Default |
WriteAction | WriteAction | Microsoft.SystemCenter.HealthService.ConnectorHealth.SetEventLogMonitorStates.Success | Default |
<Rule ID="Microsoft.SystemCenter.HealthService.ConnectorHealth.OnDemand.Success" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthServiceWatchersGroup" ConfirmDelivery="true" Remotable="true" Priority="High" DiscardLevel="100">
<Category>System</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.HealthServiceWatcher.Composite.OnDemand.DataSource">
<MonitorId>$MPElement[Name="Microsoft.SystemCenter.HealthService.ConnectorHealth"]$</MonitorId>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteAction" TypeID="Microsoft.SystemCenter.HealthService.ConnectorHealth.SetEventLogMonitorStates.Success"/>
</WriteActions>
</Rule>