代理程式指派狀態

Microsoft.SystemCenter.ManagementConfigurationServiceGroup.AgentAssignmentMonitor (UnitMonitor)

用來取得管理設定服務群組中代理程式指派工作項目狀態的監視

Knowledge Base article:

摘要

System Center 管理設定服務無法在可接受的時間內執行「代理程式指派」工作。

此監視的目的是要判斷設定服務是否在最近 15 分鐘內無法執行 “AgentAssignment“ 工作項目。“AgentAssignment” 工作項目執行失敗的影響是在這段期間內,新的代理程式安裝將會失敗。

設定

綠色狀態:在最近 15 分鐘內至少曾順利執行一次代理程式指派。

紅色狀態:設定服務的所有執行個體均無法連續執行此工作項目一段時間。當監視進入此狀態時,就會產生警示。

原因

這會在以下情況發生:

解決方式

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

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
管理設定服務群組有一段時間無法執行代理程式指派工作項目
管理設定服務群組有一段時間無法執行代理程式指派工作項目。最後一個錯誤訊息 (如果有的話): {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.ManagementConfigurationServiceGroup.AgentAssignmentMonitor" 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.AgentAssignmentMonitor.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>AgentAssignment</WorkItemName>
<ToleranceSeconds>900</ToleranceSeconds>
</Configuration>
</UnitMonitor>