此規則會在所有監視狀態於管理群組結合資料倉儲前,收集所有監視狀態。 從資料倉儲的角度看來,這些狀態變成監視的「初始」狀態
此系統規則會執行監視初始狀態資料同步處理至資料倉儲
Target | Microsoft.SystemCenter.DataWarehouseSynchronizationService |
Category | System |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
MonitorInitialStateDataSource | DataSource | Microsoft.SystemCenter.DataWarehouse.Synchronization.MonitorInitialStateDataSource | Default |
WA | WriteAction | Microsoft.SystemCenter.DataWarehouse.EntityHealthStateChangeDataWriterDefaultRouting | Default |
<Rule ID="Microsoft.SystemCenter.DataWarehouse.Synchronization.MonitorInitialState" Target="Microsoft.SystemCenter.DataWarehouseSynchronizationService" Enabled="true" ConfirmDelivery="true">
<Category>System</Category>
<DataSources>
<DataSource ID="MonitorInitialStateDataSource" TypeID="Microsoft.SystemCenter.DataWarehouse.Synchronization.MonitorInitialStateDataSource">
<BatchSize>100</BatchSize>
<BatchGenerationFrequencySeconds>30</BatchGenerationFrequencySeconds>
<LastStateChangeToTransferOffsetMinutes>15</LastStateChangeToTransferOffsetMinutes>
<StateChangeMaxAgeMinutes>15</StateChangeMaxAgeMinutes>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<SynchronizationProcessId>$MPElement$</SynchronizationProcessId>
<SqlAuthentication>
<Login>$RunAs[Name="DataWarehouse!Microsoft.SystemCenter.DataWarehouse.SqlAuthenticationActionAccount"]/UserName$</Login>
<Password>$RunAs[Name="DataWarehouse!Microsoft.SystemCenter.DataWarehouse.SqlAuthenticationActionAccount"]/Password$</Password>
</SqlAuthentication>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="DataWarehouse!Microsoft.SystemCenter.DataWarehouse.EntityHealthStateChangeDataWriterDefaultRouting"/>
</WriteActions>
</Rule>