Creating an Alarm Rule to Monitor a GaussDB Event
Scenarios
You can create alarm rules for event monitoring.
Procedure
- Log in to the management console.
- Click in the upper left corner of the page, and choose Management & Governance > Cloud Eye.
- In the navigation pane, choose Event Monitoring. On the Event Monitoring page, click Create Alarm Rule.
- 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.
- Click Create. The alarm rule is created.
For details about alarm rule parameters, see Creating an Alarm Rule in Cloud Eye User Guide.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot