This script check the list of services in the procedure. If any service stopped script to raise an alert.This monitor will not be alert if the service is missing.
Run the script as custom monitoring
You need to Run the Script auto-remediation alert on Run below procedure:(refer the below image)
Refer the below wiki link for Auto remediation alert Configurations:
Please Do not Use the Script as Normal Procedure
The below-mentioned script is Auto Remediation Procedure its Only for the above Custom monitoring script.
Before running the custom monitoring you need to import below-mentioned auto-remediation procedure in normal proceed
This script could be used as an custom monitoring procedure for the below auto-remediation script.