Setting Alarm Rules
You can set CloudTable ClickHouse alarm rules to customize the monitored objects and notification policies. Then, you can learn about ClickHouse running status in a timely manner. The ClickHouse alarm rules include alarm rule name, instance, metric, threshold, monitoring interval and whether to send notification. This section describes how to set alarm rules.
Creating an Alarm Rule for a ClickHouse Cluster
- Log in to the CloudTable console.
- In the navigation tree, click Cluster Management.
- In the upper right corner of the cluster list, enter the name of a cluster in the search box and click .
- In the cluster list, locate the row where the target cluster resides and click More > View Metric in the Operation column. The CES console is displayed.
The status of the cluster whose monitoring information you want to view must be In service.
Figure 1 Viewing the monitoring metrics
- Click Create Alarm Rule to add an alarm rule.
- Enter an alarm rule name and description.
Figure 2 Configuring an alarm rule name
- Specify the monitoring scope.
Figure 3 Specifying the monitored objects
Table 1 Parameters Parameter
Description
Example Value
Alarm Type
Default instance or the selected cluster.
Metric
Resource Type
Name of the cloud service resource for which the alarm rule is configured.
CloudTable Service
Dimension
Metric dimension of the alarm rule. Only the Compute Units option is supported.
Computing Units
Monitoring Scope
Clusters to be monitored.
Specific resources
Monitored Objects
Nodes to be monitored.
-
- Configure the alarm policies as prompted.
Figure 4 Configuring the alarm policy
Table 2 Parameters for configuring an alarm policy Parameter
Description
Example Value
Method
Select Use existing template or Configure manually as required.
- If no alarm template is available, set Method to Configure manually and configure related parameters to create an alarm rule.
- If you have available alarm rule templates, set Method to Use existing template or Associate template, so that you can use a template to quickly create alarm rules.
Configure manually
Template
This parameter is valid only when Use existing template is selected.
Select the template to be imported. If no alarm template is available, click Create Custom Template to create one that meets your requirements.
Use existing template
Alarm Policy
This parameter is valid only when Configure manually is selected.
For details about the monitoring metrics supported by CloudTable ClickHouse, see ClickHouse Cluster Supported Metrics.
-
Alarm Severity
Severity of an alarm. Valid values are Critical, Major, Minor, and Informational.
Major
- Configure the alarm notification parameters as prompted.
Figure 5 Alarm notification
- Configure advanced settings.
Figure 6 Configuring advanced settings
Table 4 Advanced configuration parameters Parameter
Description
Enterprise Project
You can group related cloud resources (for example, resources used for the same purpose) and manage them by enterprise project.
Tag
It is recommended that you use TMS's predefined tag function to add the same tag to different cloud resources.
- Enter an alarm rule name and description.
- After the configuration is complete, click Next. After the alarm rule is created, if the metric data reaches the specified threshold, CES will immediately inform you that an exception has occurred.
If you want to set an alarm rule for a single metric, go to the page for viewing monitoring information.
- View the monitoring metrics and click the metric graph.
- Click + in the upper right corner.
- Set the rule on the page for setting alarm rules.
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