Restart Health Service (SCOM Agent)

NiCE.Library.W.RestartHealthService.Recovery (Recovery)

This Recovery Action try to restart the scom agent (HealthService).

Element properties:

TargetNiCE.Library.W.Computer
MonitorNiCE.Library.W.Self.Monitoring.LoadProvider.Monitor
Reset MonitorFalse
RemotableTrue
Timeout300
CategoryCustom
Enabledfalse
AccessibilityPublic

Member Modules:

ID Module Type TypeId RunAs 
RestartHealthService WriteAction NiCE.Library.W.RestartHealthService.WA Default

Source Code:

<Recovery ID="NiCE.Library.W.RestartHealthService.Recovery" Accessibility="Public" Enabled="false" Target="NiCE.Library.W.Computer" Monitor="NiCE.Library.W.Self.Monitoring.LoadProvider.Monitor" ResetMonitor="false" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Custom</Category>
<WriteAction ID="RestartHealthService" TypeID="NiCE.Library.W.RestartHealthService.WA"/>
</Recovery>