工作項目統計資料程序失敗且無復原狀態

Microsoft.SystemCenter.ManagementConfigurationServiceGroup.WorkItemStatsGet.SecondChanceMonitor (UnitMonitor)

用來檢查工作項目統計資料要求程序是否在失敗後的指定時間內復原的監視

Knowledge Base article:

摘要

System Center 管理設定服務已有一段時間無法取得工作項目統計資料。

此監視的目的是要判斷設定服務是否正確執行。使用設定服務的事件 29183,這個監視就能偵測這種情況。當設定服務已有一段時間無法從資料庫擷取其工作項目的狀態資訊時,便會觸發事件 29183。

設定

綠色狀態:設定服務能夠判斷每種工作項目類型的狀態。

紅色狀態:連續多次無法判斷工作項目的狀態。監視將會重試。請參見下面的原因。如需詳細資訊,請參閲「工作項目統計資料要求程序狀態」監視。當監視進入此狀態時,就會產生警示。

原因

這會在以下情況發生:

解決方式

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

Element properties:

TargetMicrosoft.SystemCenter.ManagementConfigurationServiceGroup
Parent MonitorMicrosoft.SystemCenter.ManagementConfigurationServiceGroup.WorkItemsHealthQueryProcessMonitor
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.ManagementConfigurationService.2SingleEventLogTimed2StateUnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
管理設定服務群組有一段時間無法取得工作項目統計資料
管理設定服務群組有一段時間無法取得工作項目統計資料。 {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ManagementConfigurationServiceGroup.WorkItemStatsGet.SecondChanceMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.ManagementConfigurationServiceGroup" ParentMonitorID="Microsoft.SystemCenter.ManagementConfigurationServiceGroup.WorkItemsHealthQueryProcessMonitor" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.ManagementConfigurationService.2SingleEventLogTimed2StateUnitMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.ManagementConfigurationServiceGroup.WorkItemStatsGet.SecondChanceMonitor.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>
<FirstEventId>29183</FirstEventId>
<SecondEventId>29182</SecondEventId>
<TimeIntervalSeconds>300</TimeIntervalSeconds>
</Configuration>
</UnitMonitor>