数据仓库维护模式同步数据写入程序恢复状态
Microsoft.SystemCenter.DataWarehouse.Synchronization.MaintenanceMode.DataWriteState.RecoveryState (UnitMonitor)
一旦数据仓库维护模式同步数据写入程序进程遇到问题,且在配置的时间内没有从此问题恢复,则该监视器切换到警告状态
Element properties:
Source Code:
<UnitMonitor ID="Microsoft.SystemCenter.DataWarehouse.Synchronization.MaintenanceMode.DataWriteState.RecoveryState" Accessibility="Internal" Enabled="true" Target="Microsoft.SystemCenter.DataWarehouseSynchronizationService" ParentMonitorID="Microsoft.SystemCenter.DataWarehouse.Synchronization.MaintenanceMode.DataWriteState.Rollup" TypeID="DataWarehouse!Microsoft.SystemCenter.DataWarehouse.2SingleEventLogTimed2StateUnitMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.DataWarehouse.Synchronization.MaintenanceMode.DataWriteState.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Item0Context/DataItem/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Good" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
<OperationalState ID="Bad" MonitorTypeStateID="FirstEventRaisedAndNoSecondEventRaisedInTimeInterval" HealthState="Error"/>
</OperationalStates>
<Configuration>
<WorkflowName>Microsoft.SystemCenter.DataWarehouse.Synchronization.MaintenanceMode</WorkflowName>
<FirstEventId>31551</FirstEventId>
<SecondEventId>31554</SecondEventId>
<TimeIntervalSeconds>300</TimeIntervalSeconds>
</Configuration>
</UnitMonitor>