In this example we will automate the shutdown of VMs that are considered idle to help save CPU and Memory resources. Make sure you have the Python Adapters configured for the respective vCenters before beginning these steps.
Click on Administration > Policies
Click on Policy Library and select the policy we want to modify and click on the Edit icon
Click on Alert/Symptom Definitions and search for the term Idle
Notice how the Actionable Recommendations is to Power Off the VM. We will need to automate this by changing the Automate to Local
- Click on Save