重新啟動 System Center 管理健全狀況服務
Microsoft.SystemCenter.Agent.RestartHealthService.HealthServicePerfCounterThreshold (Recovery)
當健全狀況服務超過「處理程序\控制碼計數」或「私用位元組」閾值時,則重新啟動 System Center 管理健全狀況服務。
Element properties:
Member Modules:
Source Code:
<Recovery ID="Microsoft.SystemCenter.Agent.RestartHealthService.HealthServicePerfCounterThreshold" Accessibility="Internal" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" Monitor="Microsoft.SystemCenter.HealthService.ServiceStateRollup" ResetMonitor="true" ExecuteOnState="Error" Remotable="false" Timeout="300">
<Category>Maintenance</Category>
<WriteAction ID="RestartService" TypeID="Microsoft.SystemCenter.AgentManagement.RestartHealthServiceAction">
<EventId>6024</EventId>
<EventType>Warning</EventType>
<RestartReason>Health Service exceeded Process\Handle Count or Private Bytes threshhold.</RestartReason>
<RestartAttempts>1</RestartAttempts>
<Timeout>60</Timeout>
</WriteAction>
</Recovery>