Updated xcp_monitor.sh to support the halted and suspended vms