Help Center/ GaussDB/ User Guide/ Monitoring and Alarming/ Event Monitoring/ Creating an Alarm Rule to Monitor a GaussDB Event
Updated on 2024-11-11 GMT+08:00

Creating an Alarm Rule to Monitor a GaussDB Event

Scenarios

You can create alarm rules for event monitoring.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the page, and choose Management & Governance > Cloud Eye.
  3. In the navigation pane, choose Event Monitoring. On the Event Monitoring page, click Create Alarm Rule.
  4. On the Create Alarm Rule page, configure required parameters.

    Table 1 Parameters for creating an alarm rule

    Parameter

    Description

    Name

    Name of the alarm rule. The system generates a random name, and you can change it if needed.

    Description

    Supplementary information about the alarm rule. This parameter is optional.

    Alarm Type

    Alarm type corresponding to the alarm rule.

    Event Type

    Event type of the metric corresponding to the alarm rule.

    Event Source

    Service the event is generated for.

    Select GaussDB.

    Monitoring Scope

    Monitoring scope for event monitoring.

    Method

    Method you use to create the alarm rule. You can select Configure manually.

    Event Name

    Instantaneous operations users performed on system resources, such as login and logout.

    Triggering mode

    Select Immediate trigger or Accumulative trigger based on the operation severity.

    Alarm Policy

    Policy that triggers an alarm. For example, an alarm is triggered if the event occurred for three consecutive periods of 5 minutes.
    NOTE:

    This parameter is mandatory when the triggering mode is set to Accumulative trigger.

    Alarm Severity

    Alarm severity, which can be Critical, Major, Minor, or Informational.

    Operation

    You can click Delete to delete an alarm policy.

    Toggle on next to the Alarm Notification field to enable alarm notification. The notification window is 24 hours by default. If the topics you need are not displayed in the Notification Object drop-down list, click Create an SMN topic first. Then, select Generated alarm and Cleared alarm for Trigger Condition.

    Cloud Eye sends notifications only within the notification window specified in the alarm rule.

    Table 2 Parameters for setting alarm notifications

    Parameter

    Description

    Alarm Notification

    Specifies whether to notify users when alarms are triggered. Notifications can be sent by email or text message, or through HTTP/HTTPS request to servers.

    Notification Recipient

    There are two options: Notification group and Topic subscription.

    Notification Group

    Notification group the alarm notification is to be sent to.

    Notification Object

    Object that receives alarm notifications. You can select the account contact or a topic.
    • Account contact is the mobile phone number and email address provided for registration.
    • A topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one first and add subscriptions to it.

      For details, see Creating a Topic and Adding Subscriptions.

    Notification Window

    Cloud Eye sends notifications only within the validity period specified in the alarm rule.

    If Notification Window is set to 08:00-20:00, Cloud Eye sends notifications only within 08:00-20:00.

    Trigger Condition

    Condition for triggering an alarm notification. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both.

  5. Click Create. The alarm rule is created.

    For details about alarm rule parameters, see Creating an Alarm Rule in Cloud Eye User Guide.