Skip to main content
Setup and administration

Configure BlueXP workload factory notifications

Contributors netapp-mwallis

You can configure the BlueXP workload factory notification service to send notifications to the BlueXP alerts service or to an Amazon SNS topic. Notifications sent to BlueXP alerts appear in the BlueXP alerts panel. When workload factory publishes notifications to an Amazon SNS topic, subscribers to the topic (such as people or other applications) receive the notifications at the endpoints configured for the topic (such as email or SMS messages).

Notification types and messages

Workload factory sends notifications for the following events:

Event Description Notification type Severity Workload Resource type

Some database instances in your account are not well-architected

All Microsoft SQL Server instances in your account have been analyzed for well-architected issues. The description for this event gives the number of well-architected instances and unoptimized instances. Review well-architected status findings and recommendations in the Databases inventory from the workload factory console.

Well-architected

Recommendation

Databases

Microsoft SQL Server instance

Microsoft SQL Server/PostgreSQL server deployment succeeded

The deployment of the Microsoft SQL Server or PostgreSQL host succeeded. For more information, go to job monitoring.

Deployment

Success

Databases

FSx for ONTAP, DB host

Microsoft SQL Server/PostgreSQL server deployment failed

The deployment of the Microsoft SQL Server or PostgreSQL host failed. For more information, go to job monitoring.

Deployment

Error

Databases

FSx for ONTAP, DB host

Failed replication relationship creation

A SnapMirror replication relationship creation has failed. For more information, go to Tracker.

Replication

Critical

General storage

FSx for ONTAP

FSx for ONTAP creation failure

An FSx for ONTAP file system creation process has failed. For more information, go to Tracker.

FSx for ONTAP file system action

Critical

General storage

FSx for ONTAP

Configure workload factory notifications

Configure workload factory notifications using the BlueXP console or the workload factory console. If you use the BlueXP console, you can configure workload factory to send notifications to BlueXP alerts or to an Amazon SNS topic. You can configure BlueXP alerts from the Alerts and notifications settings area in BlueXP.

Before you begin
  • You need to configure Amazon SNS and create Amazon SNS topics using either the Amazon SNS console or the AWS CLI.

  • Note that workload factory supports the Standard topic type. This type of topic does not ensure that notifications are sent to subscribers in the order in which they were received, so consider this if you have critical or emergency notifications.

Configure notifications from the BlueXP console
Steps
  1. Log in to the BlueXP console.

  2. Select Workloads from the left navigation.

  3. Select Home to view all workloads or select one workload like Storage or Databases.

  4. From the workload factory menu bar, select the configuration menu.

  5. In the menu, select Workload Factory notification setup.

  6. Optional: Select Enable BlueXP notifications to configure workload factory to send notifications to BlueXP alerts.

  7. Select Enable SNS notifications.

  8. Follow the instructions to configure Amazon SNS from the Amazon SNS console.

    After you create the topic, copy the topic ARN and enter it in the SNS topic ARN field in the Notification setup dialog.

  9. After you verify the configuration by sending a test notification, select Apply.

Result

Workload factory is configured to send notifications to the Amazon SNS topic that you specified.

Configure notifications from workload factory console
Steps
  1. Log in to the workload factory console.

  2. Open the account menu from the top navigation bar.

  3. In the menu, select Notification setup.

  4. Select Enable SNS notifications.

  5. Follow the instructions to configure Amazon SNS from the Amazon SNS console.

  6. After you verify the configuration by sending a test notification, select Apply.

Result

Workload factory is configured to send notifications to the Amazon SNS topic that you specified.

Subscribe to the Amazon SNS topic

After you configure workload factory to send notifications to a topic, follow the instructions in the Amazon SNS documentation to subscribe to the topic so that you can receive notifications from workload factory.

Filter notifications

You can reduce unnecessary notification traffic and target specific notification types for specific users by applying filters to the notifications. You can do this using an Amazon SNS policy for SNS notifications, and using the BlueXP notifications settings for BlueXP notifications.

Filter Amazon SNS notifications

When you subscribe to an Amazon SNS topic, you receive all notifications published to that topic by default. If you want to receive only specific notifications from the topic, you can use a filter policy to control which notifications you receive. Filter policies cause Amazon SNS to deliver only the notifications that match the filter policy to the subscriber.

You can filter Amazon SNS notifications by the following criteria:

Description Filter policy field name Possible values

Resource type

resourceType

  • DB

  • Microsoft SQL Server host

  • PostgreSQL Server host

Workload

workload

WLMDB

Priority

priority

  • Success

  • Info

  • Recommendation

  • Warning

  • Error

  • Critical

Notification type

notificationType

  • Deployment

  • Well-architected

Steps
  1. In the Amazon SNS console, edit the subscription details for the SNS topic.

  2. In the Subscription filter policy area, select to filter by Message attributes.

  3. Enable the Subscription filter policy option.

  4. Enter a JSON filter policy in the JSON editor box.

    For example, the following JSON filter policy accepts notifications from the Microsoft SQL Server resource that are related to the WLMDB workload, have a priority of Success or Error, and provide details on Well-architected status:

    {
      "accountId": [
        "account-a"
      ],
      "resourceType": [
        "Microsoft SQL Server host"
      ],
      "workload": [
        "WLMDB"
      ],
      "priority": [
        "Success",
        "Error"
      ],
      "notificationType": [
        "Well-architected"
      ]
    }
  5. Select Save changes.

For other examples of filter policies, refer to Amazon SNS example filter policies.

For further information about creating filter policies, refer to the Amazon SNS documentation.

Filter BlueXP notifications

You can use the BlueXP alerts and notifications settings to filter the alerts and notifications that you receive in BlueXP by severity level, such as Critical, Info, or Warning.

For more information about filtering notifications in BlueXP, refer to the BlueXP documentation.