檢查本機已修改但尚未寫入磁碟通知工作項目的狀態
此監視的目的是要判斷設定服務是否無法檢查「本機已變更通知」工作項目的狀態。
綠色狀態: 已順利執行「本機已變更通知」工作。 已偵測到將「本機已變更通知」指定為執行成功之工作項目的事件識別碼 29180。
黃色狀態:本機設定服務無法連續執行此工作項目一段時間。 已偵測到將「本機已變更通知」指定為執行失敗之工作項目的事件識別碼 29181。
這會在以下情況發生:
資料庫或資料庫伺服器無法使用 (網路問題、防火牆、磁碟空間等)
System Center 管理設定 Windows 服務帳戶已無存取資料庫所需的權限
已在 ConfigService.config 檔案中停用 "LocalDirtyNotification" 工作項目。 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 下搜尋 "LocalDirtyNotification"。 確定 [已啟用] 內容設定為 true。 ConfigService.config 檔案位於 "%Program Files%\System Center 2012\Operations Manager\Server" 中。
Target | Microsoft.SystemCenter.ManagementConfigurationService |
Parent Monitor | Microsoft.SystemCenter.ManagementConfigurationService.WorkItemsHealthMonitor |
Category | StateCollection |
Enabled | True |
Alert Generate | False |
Alert Auto Resolve | True |
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType |
Remotable | True |
Accessibility | Internal |
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.ManagementConfigurationService.LocalDirtyNotificationMonitor" 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">LocalHealthServiceDirtyNotification</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">LocalHealthServiceDirtyNotification</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>