For folks using eG Enterprise monitoring - a blog from Wendy on where to find the new built in self-healing / auto-remediation features
https://www.eginnovations.com/blog/fixing-citrix-issues-with-eg-enterprises-automation/ no scripting etc. Inside the eG Enterprise console, an admin can simply configure auto-correction of these issues by enabling or disabling the following functions to turn on/off automation:
Restoring Unregistered Citrix VDAs
Resolving High Disk Space Usage Issues
Automated Actions for Memory Usage
Optimizing Resources from Idle and Disconnected Sessions