This script will alert the status of the windows backup success or canceled on your endpoint through email.
emailto=['email@example.com'] # Provide a valid email for sending the alert details.
For Example: emailto=['firstname.lastname@example.org']
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.