取得下一個工作項目處理序狀態

Microsoft.SystemCenter.ManagementConfigurationService.GetNextWorkItemMonitor (UnitMonitor)

檢查負責建立下一個工作項目之處理序的狀態

Knowledge Base article:

摘要

此監視的目的是要判斷設定服務是否無法檢查負責建立下一個工作項目之處理序的狀態。

設定

綠色狀態:「取得下一個工作項目處理序狀態」工作已執行成功。 偵測到事件識別碼 29180,其中指定 ‘GetNextWorkItem’ 為執行成功的工作項目。

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

原因

這會在以下情況發生:

解決方法

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

Element properties:

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

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ManagementConfigurationService.GetNextWorkItemMonitor" Accessibility="Internal" Enabled="true" Target="Microsoft.SystemCenter.ManagementConfigurationService" ParentMonitorID="Microsoft.SystemCenter.ManagementConfigurationService.WorkItemsHealthMonitor" 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">GetNextWorkItem</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">GetNextWorkItem</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>