question

SureshKumarS-9593 avatar image
0 Votes"
SureshKumarS-9593 asked AlexZhu-MSFT edited

Service Recovery in SCOM.

Hi All,

I have created the custom pack for the Service monitoring and recovery and it is working fine with out any issues.
Just want to know how to set the tries , If the service is got failed during the recovery

windows-server-2019msc-operations-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AlexZhu-MSFT avatar image
0 Votes"
AlexZhu-MSFT answered AlexZhu-MSFT edited

Hi,

Do you mean that we use management pack templates to create a monitor and save it in a custom management pack as mentioned in the below article? If yes, we may configure recovery task as shown below. The recovery task can be a script, in which we can configure how many times it retries.

http://www.opsman.co.za/scom-basics-creating-a-service-monitor-with-automatic-recovery/
Note: this is NOT from MS, just for your reference.

83506-add-recovery-action-button.png

Regards,

Alex
If the response is helpful, please click "Accept Answer" and upvote it.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.