Agent pool management state

Microsoft.SystemCenter.ManagementConfigurationServiceGroup.AgentPoolAssignmentMonitor (UnitMonitor)

Monitor to get a state of the agent pool management work item on Management Configuration Service Group

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 at least once in the last 15 minutes (or the time specified in the threshold).

Red State: All Instances of Configuration Service failed to consecutively perform this work item for a period of time. An Alert is generated when the monitor enters this state.

Causes

This can happen when:

Resolutions

To further investigate the issue, consider the following:

Element properties:

TargetMicrosoft.SystemCenter.ManagementConfigurationServiceGroup
Parent MonitorMicrosoft.SystemCenter.ManagementConfigurationServiceGroup.WorkItemsHealthMonitor
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.ManagementConfigurationService.WorkItemStatsMonitorType
RemotableTrue
AccessibilityInternal
Alert Message
Management Configuration Service group failed to perform agent pool management work item for a period of time
Management Configuration Service group failed to perform agent pool management work item for a period of time. Last error message (if available): {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ManagementConfigurationServiceGroup.AgentPoolAssignmentMonitor" Accessibility="Internal" Enabled="true" Target="Microsoft.SystemCenter.ManagementConfigurationServiceGroup" ParentMonitorID="Microsoft.SystemCenter.ManagementConfigurationServiceGroup.WorkItemsHealthMonitor" TypeID="Microsoft.SystemCenter.ManagementConfigurationService.WorkItemStatsMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.ManagementConfigurationServiceGroup.AgentPoolAssignmentMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/DataItem/LastErrorMessage$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Good" MonitorTypeStateID="WorkItemOnSchedule" HealthState="Success"/>
<OperationalState ID="Bad" MonitorTypeStateID="WorkItemDelayed" HealthState="Error"/>
</OperationalStates>
<Configuration>
<FrequencySeconds>60</FrequencySeconds>
<WorkItemName>AgentPoolAssignment</WorkItemName>
<ToleranceSeconds>900</ToleranceSeconds>
</Configuration>
</UnitMonitor>