The view agent on virtual desktops can fail to communicate with the connection server over time, but the agent service does not actually fail and restart. Is there a way to query the connection server database for agent communication failures and direct vcenter to restart the VM? Directing the virtual desktop to automatically reboot after a period of time is not an option.