Ustaw stan „powodzenie” monitora „Komputer nieosiągalny”, ponieważ procedura diagnostyczna „Sprawdź stan kondycji obserwatora usługi kondycji” zakończyła się powodzeniem
Microsoft.SystemCenter.HealthService.Recovery.Watcher.ComputerUp.SetComputerDownMonitor (Recovery)
Ta procedura odzyskiwania nie jest przeznaczona do uruchamiania bezpośrednio przez użytkownika. Ta procedura odzyskiwania przetwarza dane wyjściowe diagnostyki i ustawia stan monitora „Komputer nieosiągalny”.
Element properties: Member Modules:
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>