update xcp_monitor.sh