因為「檢查健全狀況服務監看員的健全狀況狀態」診斷成功而將 [電腦無法連線] 監視設定為成功

Microsoft.SystemCenter.HealthService.Recovery.Watcher.ComputerUp.SetComputerDownMonitor (Recovery)

使用者無法直接執行這項復原作業。 這項復原作業會處理診斷輸出並設定 [電腦無法連線] 監視。

Element properties:

TargetMicrosoft.SystemCenter.HealthServiceWatcher
MonitorMicrosoft.SystemCenter.HealthService.ComputerDown
Reset MonitorFalse
RemotableTrue
Timeout300
CategoryMaintenance
Enabledtrue
AccessibilityInternal

Member Modules:

ID Module Type TypeId RunAs 
ComputerUp WriteAction Microsoft.SystemCenter.ComputerUp.SetComputerDownMonitor Default

Source Code:

<Recovery ID="Microsoft.SystemCenter.HealthService.Recovery.Watcher.ComputerUp.SetComputerDownMonitor" Accessibility="Internal" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthServiceWatcher" Monitor="SC2007!Microsoft.SystemCenter.HealthService.ComputerDown" ResetMonitor="false" ExecuteOnDiagnostic="Microsoft.SystemCenter.HealthService.Diagnostic.QueryHealthServiceWatcher" Remotable="true" Timeout="300">
<Category>Maintenance</Category>
<ConditionDetection ID="FilterCondition" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Diagnostic/DataItem/Changes/Change/MonitorId[.=substring-before(substring-after('$MPElement[Name="SC2007!Microsoft.SystemCenter.HealthService.Heartbeat"]$','{'),'}')]/../NewHealthState</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteAction ID="ComputerUp" TypeID="Microsoft.SystemCenter.ComputerUp.SetComputerDownMonitor"/>
</Recovery>