Using the Settings Controller API, you configure vRealize Suite Lifecycle Manager to send alerts and notifications for changes in environment health or vRealize Suite product updates. As part of the configuration, you can specify the notification triggers and set the notification frequency.

The following example shows how to configure vRealize Suite Lifecycle Manager to send a daily notification to two registered email addresses and using a Slack channel webhook. vRealize Suite Lifecycle Manager alerts notification recipients of any product updates, or changes to license, certificate, or environment health.

Prerequisites

Procedure

  • Configure outbound notification settings.
    curl -X POST \
      '$url/lcm/lcops/api/v2/settings/globalSetting' \
      -H 'Authorization: Basic YWRtaW5AbG9jYWw6VGhpc0lzUGFzc3dvcmQ=' \
      -H 'Content-Type: application/json' \
      -d '{
        "integrationName": "Slack Integration Example",
        "emailRecipients": ["[email protected]","[email protected]"],
        "webhookRecipients": [
          "https://hooks.slack.com/services/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"
        ],
        "properties": {
          "notificationTriggers": {
            "productUpdates": {
              "enableAll": true,
              "properties": [
                "updates",
                "patches",
                "supportPacks"
              ]
            },
            "licenses": {
              "enableAll": true,
              "properties": []
            },
            "certificates": {
              "enableAll": true,
              "properties": []
            },
            "environmentHealth": {
              "enableAll": true,
              "properties": []
            },
          }
        },
        "description": "Notifications received through email and Slack",
        "notificationFrequency": "DAILY"
      }' | jq "."
    The response shows the outbound notification settings.
    {
        "integrationName": "Slack Integration Example",
        "emailRecipients": ["[email protected]","[email protected]"],
        "webhookRecipients": [
          "https://hooks.slack.com/services/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"
        ],
        "properties": {
          "notificationTriggers": {
            "productUpdates": {
              "enableAll": true,
              "properties": [
                "updates",
                "patches",
                "supportPacks"
              ]
            },
            "licenses": {
              "enableAll": true,
              "properties": []
            },
            "certificates": {
              "enableAll": true,
              "properties": []
            },
            "environmentHealth": {
              "enableAll": true,
              "properties": []
            },
          }
        },
        "description": "Notifications received through email and Slack",
        "notificationFrequency": "DAILY"
      }