Updated on 2024-10-21 GMT+08:00

Alarm Subscriptions

You can subscribe to GaussDB(DWS) alarm notifications to receive notifications by SMS message, email, or application when an alarm of a specified severity is generated.

Creating a Subscription

  1. Log in to the GaussDB(DWS) management console.
  2. In the navigation pane on the left, choose Management > Alarms and click Subscription.
  3. Click Create Subscription in the upper left corner of the page.
  4. In the Subscription Settings area, configure the basic information and alarm severity of the subscription.

    Table 1 Subscription parameters

    Parameter

    Description

    Status

    Whether to enable the alarm subscription.

    When you disable a subscription, you will not receive the corresponding alarm notifications, but the subscription will not be deleted.

    Subscription Name

    Name of the alarm subscription:

    • Contains only letters, digits, hyphens (-), and underscores (_), and must start with a letter or digit.
    • Contains 1 to 256 characters.

    Cluster

    Select the cluster to subscribe to. Note that only one cluster can be subscribed to multiple alarms.

  5. The Subscribed Alarms area displays the subscribed alarms by subscription settings. Select an SMN topic from the drop-down list.

    To create a topic, click Create Topic. The SMN console is displayed.

    The selected topic must have granted GaussDB(DWS) the permission for publishing messages to the topic. To grant permissions, configure topic policies on the SMN management console. When configuring the topic policy, select DWS for services that can publish messages to this topic.

  6. Confirm the information and click OK.

Modifying a Subscription

  1. Log in to the GaussDB(DWS) management console.
  2. In the navigation pane on the left, choose Management > Alarms and click Subscription.
  3. In the Operation column of the target subscription, click Edit.
  4. On the Edit Subscription page displayed, modify the parameters. For details, see 4 to 5.
  5. Click OK.

Deleting a Subscription

  1. Log in to the GaussDB(DWS) management console.
  2. In the navigation pane on the left, choose Management > Alarms and click Subscription.
  3. In the Operation column of the target subscription, click Delete. A confirmation dialog box is displayed.
  4. Click Yes to delete the subscription.