This site will be decommissioned on December 31st 2024. After that date content will be available at techdocs.broadcom.com.

VMware Data Services Manager uses database status as a criteria to reflect the availability of the database, to identify an in-progress operation or to notify a critical operation that failed. The status of a database is also affected by alerts that VMware Data Services Manager may trigger for the database.

These alerts can be sent as email notifications or as other notifications to any customised application, such as Slack channels or ServiceNow. VMware Data Services Manager uses Webhooks to connect to an external application and send alert notifications for databases provisioned in VMware Data Services Manager.

Only a Provider Administrator can configure and update Webhooks in VMware Data Services Manager. An Organization Administrator can associate or dissociate Webhooks for the databases that is part of that organization. An Organization User can associate or dissociate Webhooks for the databases that it has created.

Creating Webhooks

As a Provider Administrator, you can create Webhooks that can be associated with the databases created in VMware Data Services Manager.

Prerequisites

Before you try to configure a Webhook, if the endpoint of the Webhook is configured with a self-signed certificate, then please refer Managing Certificates on the Provider to add the trusted certificates.

Note: Email Alert Webhooks are created after you configure SMTP settings.

Perform the following steps to create a Webhook:

  1. Select Settings from the left navigation pane.

    Information pane appears in the Settings view.

  2. Click Webhook Settings tab.

    The Webhook Setting List appears.

  3. Click NEW WEBHOOK SETTINGS on the right side of Webhook Setting List.

    The Create New Webhook form appears.

  4. In the Name and Destination tab of the Create New Webhook form, set the following properties:

    Property Description
    Endpoint Type Select Slack, ServiceNow, or Custom as the endpoint application from the dropdown list. You can select Custom if you want to configure any other application as the endpoint type other than Slack or ServiceNow.
    Webhook Name Enter a unique name of the Webhook.
    Destination URL Enter the destination URL of the endpoint application.
    HTTP Request Method Select POST or PUT from the dropdown list.
    Authorization User Enter the authorization username for the Webhook.
    Authorization Password Enter the authorization password for the Webhook.
    Custom Headers Enter the Header Name and Header Value for the custom header of the Webhook. Click + to add more custom headers and - to remove custom headers.
    Note: If you select Slack as the Endpoint Type, you need not provide Authorization User, Authorization Password*, and Custom Headers because authorization token is provided in the Webhook URL that is generated for Slack.
  5. Click NEXT.

  6. In the DB Status Change Payload tab of the Create New Webhook form, set the following properties:

    Property Description
    Content Type From the dropdown list, select JSON or XML as the content type of the Webhook for any change of database status. You can only choose JSON if you have selected Slack as the Endpoint Type in the Name and Destination tab because Slack doesn't support XML as an option for Content Type.
    Webhook Payload Use the payload as-is or update the Webhook's payload, as required. VMware Data Services Manager supports only the parameters listed in the Parameters box to be included in the payload.
    Note: You can click TEST below the left side of the Parameters box to test the payload that is triggered by the Webhook due to change of status of database. Click TEST to send the payload to the configured endpoint URL.
  7. Click NEXT.

  8. In the DB Operation Failure Payload tab of the Create New Webhook form, set the following properties:

    Property Description
    Content Type From the dropdown list, select JSON or XML as the content type of the Webhook for any database operation failure. You can only choose JSON if you have selected Slack as the Endpoint Type in the Name and Destination tab because Slack doesn't support XML as an option for Content Type.
    Webhook Payload Use the payload as-is or update the Webhook's payload, as required. VMware Data Services Manager supports only the parameters listed in the Parameters box to be included in the payload.
    Note: You can click TEST below the left side of the Parameters box to test the payload that is triggered by the Webhook due to database operation failure. Click TEST to send the payload to the configured endpoint URL.
  9. Click CREATE.

Editing Webhooks

After creating a Webhook, you may need to update the payload to add, modify, or remove parameters of the payloads. Else, you may need to update a Webhook's name, authorization credentials, and so on. For all such purposes, as a Provider Administrator, you can edit Webhooks that you have created.

Perform the following steps to create a Webhook:

  1. Select Settings from the left navigation pane.

    Information pane appears in the Settings view.

  2. Click Webhook Settings tab.

    The Webhook Setting List appears.

  3. From the table in the Webhook Setting List, identify the Webhook that you want to update click the three vertical dots in the Actions column of that Webhook, and then click Edit Webhook from the pop-up menu.

    The Edit Webhook form appears.

  4. In the Name and Destination tab of the Create New Webhook form, update the following properties, as required:

    Property Description
    Endpoint Type Select Slack, ServiceNow, or Custom as the endpoint application from the dropdown list. You can select Custom if you want to configure any other application as the endpoint type other than Slack or ServiceNow.
    Webhook Name Update the name of the Webhook with a unique name.
    Destination URL Update the destination URL of the endpoint application.
    HTTP Request Method Select POST or PUT from the dropdown list.
    Authorization User Update the authorization username for the Webhook.
    Authorization Password Update the authorization password for the Webhook.
    Custom Headers Update the Header Name and Header Value for the custom header of the Webhook. Click + to add more custom headers and - to remove custom headers.
    Note: If you select Slack as the Endpoint Type, you need not provide Authorization User, Authorization Password, and Custom Headers because authorization token is provided in the Webhook URL that is generated for Slack.
  5. Click NEXT.

  6. In the DB Status Change Payload tab of the Create New Webhook form, update the following properties:

    Property Description
    Content Type From the dropdown list, select JSON or XML as the content type of the Webhook for any change of database status. You can only choose JSON if you have selected Slack as the Endpoint Type in the Name and Destination tab because Slack doesn't support XML as an option for Content Type.
    Webhook Payload Use the payload as-is or update the Webhook's payload, as required. VMware Data Services Manager supports only the parameters listed in the Parameters box to be included in the payload.
    Note: You can click TEST below the left side of the Parameters box to test the payload that is triggered by the Webhook due to change of status of database. Click TEST to send the payload to the configured endpoint URL.
  7. Click NEXT.

  8. In the DB Operation Failure Payload tab of the Create New Webhook form, set the following properties:

    Property Description
    Content Type From the dropdown list, select JSON or XML as the content type of the Webhook for any database operation failure. You can only choose JSON if you have selected Slack as the Endpoint Type in the Name and Destination tab because Slack doesn't support XML as an option for Content Type.
    Webhook Payload Use the payload as-is or update the Webhook's payload, as required. VMware Data Services Manager supports only the parameters listed in the Parameters box to be included in the payload.
    Note: You can click TEST below the left side of the Parameters box to test the payload that is triggered by the Webhook due to database operation failure. Click TEST to send the payload to the configured endpoint URL.
  9. Click UPDATE.

Publishing and Unpublishing Webhooks

The status of a Webhook can either be Published or Unpublished. Notifications of database status change or operation failure are only sent to the published Webhooks. When you create a Webhook, the status of the Webhook is Published. However, you can change the status of a Webhook from Published to Unpublished and vice-versa, as required. If an unpublished Webhook is already associated with a database, that webhook is listed using red font in the Alert Settings tab of that database.

Perform the following steps to change the status of a Webhook:

  1. Select Settings from the left navigation pane.

    Information pane appears in the Settings view.

  2. Click Webhook Settings tab.

    The Webhook Setting List appears.

  3. From the table in the Webhook Setting List, identify the Webhook whose status you want to change, click the three vertical dots in the Actions column of that Webhook, and then click Unpublish Webhook or Publish Webhook, as required, from the pop-up menu.

    Either the Unpublish Webhook dialog box appears or the status of the Webhook changes to Published.

  4. If the Unpublish Webhook dialog box appears, click CONFIRM.

    The status of the Webhook changes to Unpublished.

Associating and Dissociating Webhooks

Alerts for status change and operation failure of a database are sent to the published Webhooks associated with a database. You can activate or deactivate these alerts and you can associate or dissociate the Webhooks from a database during the creation of the database.

After you have created a database, you can still activate or deactivate database alerts and you can associate or dissociate the Webhooks from a database.

Perform the following steps to activate or deactivate database alerts and you can associate or dissociate the Webhooks from a database after you have created the database:

  1. Select Databases from the left navigation pane.

    The list of created databases appears in the Databases view.

  2. From the list of created databases in the Database view, click the database for which you want to activate or deactivate database alerts and associate or dissociate Webhooks.

    The Details tab of the database appears.

  3. Click the Alerts Settings tab, and click EDIT in the Email/Webhook Configuration section.

    The Edit Alerts Configuration dialog box appears.

  4. In the Edit Alerts Configuration dialog box, select or deselect Enable Alerts for DB Status Change to activate or deactivate alerts for change in status of the database. If you activate this alert, you can scroll through the drop-down list of Enable Alerts for DB Status Change, and then select Webhooks to be associated with the database, as required. Else, you can cross out the selected Webhooks to dissociate them from the database.

  5. In the Edit Alerts Configuration dialog box, select or deselect Enable Alerts for DB Operation Failure to activate or deactivate alerts for failure of database operations. If you activate this alert, you can scroll through the drop-down list of Enable Alerts for DB Operation Failure, and then select Webhooks to be associated with the database, as required. Else, you can cross out the selected Webhooks to dissociate them from the database.

  6. Click CONFIRM.

Deleting Webhooks

You can also delete Webhooks that are no longer required.

Note: You cannot delete a Webhook that is associated with a database. If you want to delete such a Webhook, ensure that it is dissociated from all databases, and then try to delete it.

Perform the following steps to delete a Webhook:

  1. Select Settings from the left navigation pane.

    Information pane appears in the Settings view.

  2. Click Webhook Settings tab.

    The Webhook Setting List appears.

  3. From the table in the Webhook Setting List, identify the Webhook that you want to delete, click the three vertical dots in the Actions column of that Webhook, and then click Delete Webhook from the pop-up menu.

check-circle-line exclamation-circle-line close-line
Scroll to top icon