Help Center/ GaussDB(for MySQL)/ User Guide/ Monitoring and Alarms/ Event Monitoring/ Creating Alarm Rules for Event Monitoring
Updated on 2024-11-06 GMT+08:00

Creating Alarm Rules for Event Monitoring

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. Under Management & Governance, click Cloud Eye.
  3. In the navigation pane, choose Event Monitoring.
  4. On the event list page, click Create Alarm Rule in the upper right corner.
  5. On the displayed page, configure parameters as needed.

    Table 1 Parameter description

    Parameter

    Description

    Name

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

    Description

    (Optional) Provides supplementary information about the alarm rule.

    Enterprise Project

    You can select an existing enterprise project or click Create Enterprise Project to create an enterprise project.

    Alarm Type

    Specifies the alarm type corresponding to the alarm rule.

    Event Type

    Specifies the event type of the metric corresponding to the alarm rule.

    Event Source

    Specifies the service the event is generated for.

    Example value: GaussDB(for MySQL)

    Monitoring Scope

    Specifies the monitoring scope for event monitoring.

    Method

    Specifies the event creation method.

    Alarm Policy

    Events indicate the instantaneous operations users performed on system resources, such as login and logout.

    For details about events supported by Event Monitoring, see Events Supported by Event Monitoring.

    You can select a trigger mode and alarm severity as needed.

    Click to enable alarm notification. The validity period is 24 hours by default. If the topics you require are not displayed in the drop-down list, click Create an SMN topic.
    Table 2 Alarm notification parameters

    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 Object

    Specifies the object an alarm notification is to be sent to. You can select the account contact or a topic.
    • Account contact is the mobile phone number and email address of the registered account.
    • 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.

    Validity Period

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

    If you set Validity Period to 08:00-20:00, Cloud Eye sends notifications only within 08:00-20:00.

    Trigger Condition

    Specifies the condition for triggering the alarm notification.

  6. After the configuration is complete, click Create.