Run this script as CUSTOM MONITORING
Kindly, refer the below link to run the script as customer monitor:
https://wiki.itarian.com/frontend/web/topic/how-to-use-custom-script-procedure-monitoring
This script will hit an alert if the windows server backup fails or missed or warning.