用於取得「管理設定服務群組」上站台指派工作項目狀態的監視
System Center 管理設定服務無法在可接受的時間內執行「站台指派區」工作。
此監視的目的是要判斷設定服務是否在最近 15 分鐘 (預設值) 內無法執行 "SiteAssignment" 工作項目。 "SiteAssignment" 工作項目執行失敗的影響是若無法在這段期間內在管理群組和現有資源集區中正確啟用新的資源集區,則管理群組和現有資源集區中可能會出現不穩定的行為。
綠色狀態: 已在過去 15 分鐘內順利執行站台指派一次。
紅色狀態:設定服務的所有執行個體均無法連續執行此工作項目一段時間。 當監視處於此狀態時,已從此監視產生警示。
這會在以下情況發生:
資料庫或資料庫伺服器無法使用 (網路問題、防火牆、磁碟空間等)
System Center 管理設定 Windows 服務帳戶已無存取資料庫所需的權限
已在 ConfigService.config 中停用 "SiteAssignment" 工作項目。 ConfigService.config 檔案位於 "%Program Files%\System Center 2012\Operations Manager\Server" 中。
若要進一步調查此問題,請考慮採用下列方法:
檢閱 Operations Manager 事件記錄檔,尋找指出 System Center 管理設定服務發生問題的錯誤。 請篩選事件記錄檔的 “OpsMgr Management Configuration” 來源以搜尋錯誤。
確認您在 Operations Manager 事件記錄檔中沒有看到從管理伺服器連線到 Operations Manager 資料庫的錯誤
使用 Operations Manager 主控台和 SQL Server Management Studio,驗證預設動作帳戶是否能夠正確存取 Operations Manager 資料庫安裝位置的資料庫。 如需設定預設動作帳戶的詳細資訊,請參閱《Operations Manager 安全性指南》。
開啟 ConfigService.config 檔案,並在 WorkItems 底下搜尋 “AgentPoolAssignment”。 確定 [已啟用] 內容設定為 true。 ConfigService.config 檔案位於 "%Program Files%\System Center 2012\Operations Manager\Server" 中。
Target | Microsoft.SystemCenter.ManagementConfigurationServiceGroup | ||
Parent Monitor | Microsoft.SystemCenter.ManagementConfigurationServiceGroup.WorkItemsHealthMonitor | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.ManagementConfigurationService.WorkItemStatsMonitorType | ||
Remotable | True | ||
Accessibility | Internal | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.ManagementConfigurationServiceGroup.SiteAssignmentMonitor" 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.SiteAssignmentMonitor.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>SiteAssignment</WorkItemName>
<ToleranceSeconds>1800</ToleranceSeconds>
</Configuration>
</UnitMonitor>