Working with policies
In this recipe, we will look into policies. We will learn how to create and use policies to react automatically to events that occur outside Orchestrator.
Getting ready
For this recipe, we need something that we can monitor for events. We have a look at policies with the recipes Working with SNMP and Working with AMQP in Chapter 10, Built-in Plugins.
In this example, we will monitor objects in the vCenter server.
How to do it...
We will create a simple policy that will monitor a VM by performing the following steps:
- In the Orchestrator Client, switch to the Run mode and click on Policies.
- Click on Create a new Policy (the icon that looks like a scroll with a plus sign).
- After you give the policy a name, you will find a new policy ...
Get VMware vRealize Orchestrator Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.