You can create and manage Workload Placement (WLP) Action based notification in VMware Aria Operations.

You can configure actions for which you want to receive notifications. Once configured, notifications are sent indicating the successful, failed, or timed out WLP action.
Note: The notifications are sent once the WLP Virtual Machine movement task is completed irrespective of its status.

Before you can create and manage your notification rules, you must configure the Webhook Notification Plugin. For details, see Add a Webhook Notification Plugin for Outbound Instance.

To create notification rules for WLP action:
  1. From the left menu, click Configure > Alerts, and then in the right pane, click Notifications. On the toolbar, click Add to add a rule, or click the vertical ellipsis and select Clone to clone the selected rule.
    Note: You cannot change the Notification Type while editing a selected notification rule,
  2. Enter the following notification details.
    Option Description
    Name Name of the rule that you use to manage the rule instance.
    Description Description of the rule.
    Notification Status Either activate or deactivate a notification setting. Deactivating a notification will stop the notification for that setting and activating it will activate the notification.
    Advanced Settings
    Notification Type Select Action from the drop-down menu.
  3. Click Next.
  4. Define criteria for the notification rule.
    Option Description
    Object Scope: Select set of Objects for which you want to receive notifications.
    Criteria

    Select the Criteria as Object from the drop-down menu.

    Search for a specific object by name and determine if you want to include any child or descendant objects, and then add one or more child/descendant objects.

    The action triggers on ANY of the selected objects:

    Notify On
    Status

    Select the action status for which you want to receive notification. You can receive notification for Succeeded, Failed, and Timed Out statuses.

  5. Click Next.
  6. Select the outbound method that you want to use to send your notification.
    Option Description
    Outbound Method
    • By default, the outbound method supported is Webhook Notification Plugin.
    • Select Instance: Select the configured instance for the Webhook plug-in.
    • Create New Instance: You can also create a new outbound instance for the Webhook plug-in type. For details, see Add a Webhook Notification Plugin for Outbound Instance.
  7. Click Next.
  8. Select the payload template.
    Option Description
    Payload Template Select the Webhook payload template that you want to include in the notification. There is a Default WLP Action Webhook Template and you can select the default template if no customization is required. You can also customize your payload for a Webhook Notification Plugin. For details on creating payload templates, see Creating Payload Templates for Outbound Plugins.
  9. Click Next to test the notification
  10. In the Test Notification tab, click Initiate Process to initiate the notification configuration validation process.
  11. If you activate the Filter the objects based on criteria outlined in the Define Criteria section option, then the objects displayed below are based on the criteria outlined in the Define Criteria section.
  12. Select an object for validation.
  13. Click Validate Configuration.
    • Notification Validation Steps: View the steps involved in validating the notification configuration. The steps also indicate an error, if any. The validation steps differ based on the selected Outbound method.
      Outbound Method Validation Steps
      Webhook Notification Plugin
      • Validate Criteria
      • Establish Endpoint Connection
      • Certificates
      • Authentication
      • Send Notification
      • Endpoint Receives Notification
    • Response: The Response tab in the right pane displays if the test passed successfully or if there were any errors.
    • Body: Displays the content of the notification.
  14. Click Create to create the notification rule. You can view the rule you created under Alerts > Notifications.