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