A policy is a set of rules that you define for VMware Aria Operations to use to analyze and display information about the objects in your environment. You can modify an existing policy or create a new policy and configure it for automatic alert remediation. To automate the workflow execution, you must apply the policy to a custom group called VMware Aria Operations Management Pack for VMware Aria Automation Orchestrator Adapter-Managed Objects. This group contains the vSphere objects.

Prerequisites

Ensure that the following prerequisites are met:
  • You have mapped custom and user-defined workflows to resources as actions. Automated workflow execution is possible on workflows which have only one input parameter. The only other input parameter is vrops_alert_id and it is used to fetch the ID of the alert that triggered the workflow. This input parameter should be of the type String. To automate workflows which have more than one input parameter, you must create a user-defined workflow and predefine the input parameters in the workflow.
  • You have mapped the action to an alert through a recommendation.

Procedure

  1. From the left menu, click Configure, and then click Policies.
  2. Select the current default policy. In the More Actions tab, click Edit.
  3. Select Groups and Objects tab in the Default Policy [Edit] window.
  4. Click Save.
  5. Select the checkbox next to VMware Aria Automation Orchestrator Orchestrator Adapter Managed Objects.
  6. Select Alerts and Symptoms tab in the Default Policy [Edit] window.
  7. In the Alert Definitions pane, filter by the name of the alert to which you have mapped the action that you want to automate.
  8. Select the alert from the filter results.
    1. In the Automate column, select Local.
    2. In the State column, select Enabled.
  9. Click Save.

Results

The default policy is modified to automatically run the configured action when mapped alerts are displayed.