Example script to react to monitor alarms