Hi,
This script will alert the status of the windows backup success or canceled on your endpoint through email.
Edit Parameters:
emailto=['xxx@gmail.com'] # Provide a valid email for sending the alert details.
For Example: emailto=['xxx@gmail.com']
Please run the below script as custom monitoring for the expected result.
Refer the below wiki topic that tells how to run it as a custom monitoring script.
https://wiki.comodo.com/frontend/web/topic/how-to-use-custom-script-procedure-monitoring