Updated on 2023-11-27 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 Alarms > Subscriptions.
  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.

    indicates that the alarm subscription is enabled. indicates that the alarm subscription is disabled. 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.

    Alarm Severity

    Severity of the alarm you want to subscribe to: Urgent, Important, Minor, or Prompt

  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 to switch to the SMN console page. For details, .

    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 as the service 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 Alarms > Subscriptions.
  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 Alarms > Subscriptions.
  3. In the Operation column of the target subscription, click Delete. A confirmation dialog box is displayed.

  4. Click Yes to delete the subscription.