設定存放區統計資料更新狀態

Microsoft.SystemCenter.ManagementConfigurationService.StatsUpdatesMonitor (UnitMonitor)

檢查設定存放區統計資料更新工作項目的狀態

Knowledge Base article:

摘要

System Center 管理設定服務無法在可接受的時間內執行「設定存放區」統計資料更新狀態工作。

此監視的目的是要判斷設定服務是否在最近 30 分鐘 (預設值) 內無法執行 “ConfigStoreStatsUpdate“ 工作項目。“ConfigStoreStatsUpdate” 工作項目執行失敗的影響是在這段期間內,管理群組可能會出現不穩定的行為。

設定

綠色狀態:最近 30 分鐘內曾順利執行一次「設定存放區」統計資料更新狀態工作。偵測到事件識別碼 29180,其中指定 ‘ConfigStoreStatsUpdate’ 為執行成功的工作項目。

黃色狀態:本機設定服務無法連續執行此工作項目一段時間。偵測到事件識別碼 29181,其中指定 ‘ConfigStoreStatsUpdate’ 為執行失敗的工作項目。

原因

這會在以下情況發生:

解決方式

若要進一步調查此問題,請考慮採用下列方法:

Element properties:

TargetMicrosoft.SystemCenter.ManagementConfigurationService
Parent MonitorMicrosoft.SystemCenter.ManagementConfigurationService.ConfigStoreMaintenanceWorkItemsMonitor
CategoryStateCollection
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityInternal
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ManagementConfigurationService.StatsUpdatesMonitor" Accessibility="Internal" Enabled="true" Target="Microsoft.SystemCenter.ManagementConfigurationService" ParentMonitorID="Microsoft.SystemCenter.ManagementConfigurationService.ConfigStoreMaintenanceWorkItemsMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Operations Manager</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29181</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[2]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">ConfigStoreStatsUpdate</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Operations Manager</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">29180</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[2]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">ConfigStoreStatsUpdate</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>