Agent pool management state

Microsoft.SystemCenter.ManagementConfigurationService.PoolManagementMonitor (UnitMonitor)

Checks the state of the dynamic agent pool management process

Knowledge Base article:

Summary

The System Center Management Configuration Service has failed to perform the Agent Pool Assignment task within an acceptable amount of time.

The purpose of this monitor is to determine if the Configuration Service has failed to run the “AgentPoolAssignment “ work item over the last 15 minutes (default). The impact of the “AgentPoolAssignment” work item failing is during this time new resource pools cannot be properly enabled in the management group and existing resource pool could experience inconstant behaviors.

Configuration

Green State: Agent Pool Assignment has run successfully once in the last 15 minutes. Event ID 29180 was detected specifying ‘AgentPoolAssignment’ as the successful work item.

Yellow State: The local Configuration Service failed to consecutively perform this work item for a period of time. Event ID 29181 was detected specifying ‘AgentPoolAssignment’ as the failed work item.

Causes

This can happen when:

Resolutions

To further investigate the issue, consider the following:

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.PoolManagementMonitor" 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">AgentPoolAssignment</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">AgentPoolAssignment</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>