Updated on 2023-11-27 GMT+08:00

Subscribing to Event Notifications

After subscribing to GaussDB(DWS) event notification, you will receive notifications by text message, email, or application when management, monitoring, or security events occur in a specific cluster or snapshot.

Creating a Subscription

  1. Log in to the GaussDB(DWS) management console.
  2. In the navigation tree on the left, click Event Management.
  3. On the Event Management page, choose Subscription > Create Subscription.
  4. In the Subscription Settings area, set basic subscription information and event filtering.

    The Subscribed Event List area displays the events filtered by the system based on the subscription settings.

    Figure 1 Subscription Settings
    Table 1 Subscription parameters

    Parameter

    Description

    Notification

    Enable or disable event subscription.

    indicates that event subscription is enabled. indicates that event subscription is disabled. This function is enabled by default. After the function is disabled, the system stops sending notifications of subscribed events but does not delete the subscription.

    Subscription Name

    Enter the name of a subscription.

    • The name can contain letters (upper or lower case), digits, hyphens (-), and underscores (_) and must start with a letter or digit.
    • The name must be between 1 and 256 characters in length.

    Event Type

    Select the type of the event to be subscribed. Possible values are Management, Monitoring, and Security.

    Event Severity

    Select the alarm severity of the event. Possible values are Normal and Warning.

    Event Source Category

    Select the event source category: cluster, snapshot,.

  5. Select a message notification topic from the Message Notification Topic drop-down list.

    • The selected topic must have granted GaussDB(DWS) the permission to publish messages to the topic.

      If GaussDB(DWS) has not been authorized to publish messages to the selected topic, go to the topic management page of the SMN console to configure topic authorization. For details, see Topic Management > Configuring Topic Policies in the Simple Message Notification User Guide. When configuring the topic policy, select GaussDB(DWS) for Services that can publish messages to this topic.

    • To create a topic, click Create Topic. The SMN console is displayed. For details, see Topic Management > Creating a Topic in the Simple Message Notification User Guide.
    Figure 2 Creating a topic

  6. Click OK to complete the subscription.

Modifying the Subscription

  1. On the Event Management page of the GaussDB(DWS) management console, click the Subscription tab.
  2. In the Operation column of the row containing the specified subscription, click Edit to enter the Edit Subscription page.

    Figure 3 Subscription page

  3. On the Edit Subscription page, set the parameters to be modified. For details, see 4 to 6 in section "Creating a Subscription".

Deleting the Subscription

  1. On the Event Management page of the GaussDB(DWS) management console, click the Subscription tab.
  2. In the Operation column of the row containing the specified subscription, click Delete. The Delete Subscription dialog box is displayed.
  3. Click Yes to delete the subscription.