Updated on 2024-09-05 GMT+08:00

Event Notifications Overview

Overview

GaussDB(DWS) uses the Simple Message Notification (SMN) service to send notifications of GaussDB(DWS) events. The SMN function is only available by subscription. In a subscription, you need to specify one or more event filtering conditions. When an event that matches all filtering conditions occurs, GaussDB(DWS) sends a notification based on the subscription. The filter conditions include the Event Type (for example, Management, Monitoring, or Security), Event Severity (for example, Normal or Warning), and Event Source Category (for example, Cluster or Snapshot).

Supported Event Types and Events

Events are records of changes in the user's cluster status. Events can be triggered by user operations (such as audit events), or may be caused by cluster service status changes (for example, cluster repaired successfully or failed to repair the cluster). The following tables list the events and event types supported by GaussDB(DWS).

  • The following table lists the events whose Event Source Category is Cluster.
    Table 1 Events whose Event Source Category is Cluster

    Event Type

    Event Name

    Event Severity

    Event

    Management

    createClusterFail

    Warning

    Cluster creation failed.

    Management

    createClusterSuccess

    Normal

    The cluster is created.

    Management

    createCluster

    Normal

    Cluster creation started.

    Management

    extendCluster

    Normal

    Cluster scale-out started.

    Management

    extendClusterSuccess

    Normal

    A cluster is scaled out.

    Management

    extendClusterFail

    Warning

    Cluster scale-out failed.

    Management

    deleteClusterFail

    Warning

    Failed to delete the cluster.

    Management

    deleteClusterSuccess

    Normal

    The cluster is deleted.

    Management

    deleteCluster

    Normal

    Cluster deletion started.

    Management

    restoreClusterFail

    Warning

    Cluster restoration failed.

    Management

    restoreClusterSuccess

    Normal

    The cluster is restored.

    Management

    restoreCluster

    Normal

    Cluster restoration started.

    Management

    restartClusterFail

    Warning

    Cluster restart failed.

    Management

    restartClusterSuccess

    Normal

    The cluster is restarted.

    Management

    restartCluster

    Normal

    Cluster restarted.

    Management

    configureMRSExtDataSources

    Normal

    Configuration of MRS external data source for the cluster started.

    Management

    configureMRSExtDataSourcesFail

    Warning

    The cluster's MRS external data source configurations failed.

    Management

    configureMRSExtDataSourcesSuccess

    Normal

    The MRS external data source of the cluster is configured.

    Management

    deleteMRSExtDataSources

    Normal

    Deletion of MRS external data source for the cluster started.

    Management

    deleteMRSExtDataSourcesFail

    Warning

    The deletion of the MRS external data source for the cluster failed.

    Management

    deletedMRSExtDataSourcesSuccess

    Normal

    MRS external data source is deleted.

    Management

    bindEipToCluster

    Normal

    An EIP is bound to the cluster.

    Management

    bindEipToClusterFail

    Warning

    Cluster EIP binding failed.

    Management

    unbindEipToCluster

    Normal

    The EIP is unbound from the cluster.

    Management

    unbindEipToClusterFail

    Warning

    Cluster EIP unbinding failed

    Management

    refreshEipToCluster

    Normal

    The cluster's EIP is refreshed.

    Management

    refreshEipToClusterFail

    Warning

    Cluster EIP refreshing failed.

    Management

    dmsClusterMonitoringEnabledSuccessfully

    Normal

    DMS cluster monitoring is enabled.

    Management

    failedToEnableDmsClusterMonitoring

    Normal

    Enabling DMS cluster monitoring has failed.

    Management

    dmsClusterMonitoringDisabledSuccessfully

    Normal

    DMS cluster monitoring is disabled.

    Management

    failedToDisableDmsClusterMonitoring

    Normal

    Disabling DMS cluster monitoring has failed.

    Management

    dmsMetricCollectionEnabledSuccessfully

    Normal

    DMS collection is enabled.

    Management

    failedToEnableDmsMetricCollection

    Normal

    Enabling DMS collection has failed.

    Management

    dmsMetricCollectionDisabledSuccessfully

    Normal

    DMS collection is disabled.

    Management

    failedToDisableDmsMetricCollection

    Normal

    Disabling DMS collection has failed.

    Management

    dmsMetricCollectionResetSuccessfully

    Normal

    DMS collection is reset.

    Management

    failedToResetDmsMetricCollection

    Normal

    Failed to reset DMS collection.

    Management

    dmsMetricCollectionUpdatedSuccessfully

    Normal

    DMS collection updated successfully.

    Management

    failedToUpdateDmsMetricCollection

    Normal

    Updating DMS collection has failed.

    Management

    dmsMetricDataRetentionPeriodUpdatedSuccessfully

    Normal

    DMS collection storage time is updated.

    Management

    failedToUpdateTheDmsMetricDataRetentionPeriod

    Normal

    Updating DMS collection storage time has failed.

    Management

    dmsSessionsTerminatedSuccessfully

    Normal

    DMS terminated a session.

    Management

    failedToTerminateDmsSessions

    Normal

    DMS was unable to terminate a session.

    Management

    dmsQueriesTerminatedSuccessfully

    Normal

    DMS queries terminated.

    Management

    failedToTerminateDmsQueries

    Normal

    DMS was unable to terminate a query.

    Management

    dmsCreateWDRSuccessfully

    Normal

    The DMS load report generation task was completed.

    Management

    failedToCreateWDR

    Warning

    The DMS was unable to complete the load report generation task.

    Management

    dmsDeleteWDRSuccessfully

    Normal

    DMS deleted the load report.

    Management

    failedToDeleteWDR

    Warning

    DMS was unable to delete a workload report.

    Management

    dmsUpdateWDRConfigSuccessfully

    Normal

    DMS updated the workload report parameters.

    Management

    failedToUpdateWDRConfig

    Warning

    DMS was unable to update workload report parameters.

    Management

    dmsCreateWorkloadSnapshotSuccessfully

    Normal

    DMS successfully added a workload snapshot.

    Management

    failedToCreateWorkloadSnapshot

    Warning

    DMS was unable to add a workload snapshot.

    Security

    resetPasswordFail

    Warning

    The password reset attempt was unsuccessful.

    Security

    resetPasswordSuccess

    Normal

    The cluster password has been reset.

    Security

    updateConfiguration

    Normal

    Start to update cluster security parameters.

    Security

    updateConfigurationFail

    Warning

    Cluster security parameter update failed.

    Security

    updateConfigurationSuccess

    Normal

    Cluster security parameters were updated.

    Monitoring

    repairCluster

    Normal

    The node is faulty and the cluster starts to be repaired.

    Monitoring

    repairClusterFail

    Warning

    Cluster repairing failed.

    Monitoring

    repairClusterSuccess

    Normal

    The cluster is repaired.

  • The following table lists the events whose Event Source Category is Snapshot.
    Table 2 Events whose Event Source Category is Snapshot

    Event Type

    Event Name

    Event Severity

    Event

    Management

    deleteBackup

    Normal

    The snapshot is deleted.

    Management

    deleteBackupFail

    Warning

    Snapshot deletion failed.

    Management

    createBackup

    Normal

    The snapshot is being created.

    Management

    createBackupSuccess

    Normal

    The snapshot is created.

    Management

    createBackupFail

    Warning

    Snapshot creation failed.

  • The following table lists the events whose Event Source Category is DR.
    Table 3 Events whose Event Source Category is DR.

    Event Type

    Event Name

    Event Severity

    Event

    Management

    beginCreateDisasterRecovery

    Normal

    The DR task is being created.

    Management

    createDisasterRecoverySuccess

    Normal

    The DR task is created.

    Management

    createDisasterRecoveryFail

    Warning

    DR task creation failed.

    Management

    beginStartDisasterRecovery

    Normal

    The DR task starts.

    Management

    startDisasterRecoverySuccess

    Normal

    The DR task started successfully.

    Management

    startDisasterRecoveryFail

    Warning

    The DR task was unable to start.

    Management

    beginStopDisasterRecovery

    Normal

    The DR task is being stopped.

    Management

    stopDisasterRecoverySuccess

    Normal

    DR stopped successfully.

    Management

    stopDisasterRecoveryFail

    Warning

    The DR task could not be stopped.

    Management

    beginSwitchoverDisasterRecovery

    Normal

    The DR switchover starts.

    Management

    switchoverDisasterRecoverySuccess

    Normal

    The DR switchover is successful.

    Management

    switchoverDisasterRecoveryFail

    Warning

    The DR switchover failed.

    Management

    beginDeleteDisasterRecovery

    Normal

    The DR task is being deleted.

    Management

    deleteDisasterRecoverySuccess

    Normal

    The DR task is deleted.

    Management

    deleteDisasterRecoveryFail

    Warning

    The DR task deletion failed.

    Management

    disasterRecoveryAbnormal

    Warning

    The DR task runs abnormally.