You can create alert rules for Container Service for Kubernetes (ACK) clusters, nodes, and pods. When an alert is triggered based on alert rules, Cloud Monitor sends an alert notification. This way, you are immediately notified of exceptions and can handle the exceptions at the earliest opportunity. This topic describes how to create, view, modify, delete, enable, and disable alert rules.
Prerequisites
Create an alert rule
View an alert rule
Modify an alert rule
- Log on to the CloudMonitor console.
- In the left-side navigation pane, click .
- On the Container Service Monitoring page, find the cluster for which you want to modify an alert rule and click View Alert Rules in the Actions column.
- On the Alert Rules page, find the alert rule that you want to modify and click Modify in the Actions column.
- In the Modify Alert Rule panel, modify the parameters as required.
- Click OK.
Delete an alert rule
- Log on to the CloudMonitor console.
- In the left-side navigation pane, click .
- On the Container Service Monitoring page, find the cluster for which you want to delete an alert rule and click View Alert Rules in the Actions column.
- On the Alert Rules page, find the alert rule that you want to delete and click Delete in the Actions column.
- In the Delete Alert message, click Confirm.
Disable an alert rule
Note After you create an alert rule, the alert rule is in the Normal state.
- Log on to the CloudMonitor console.
- In the left-side navigation pane, click .
- On the Container Service Monitoring page, find the cluster for which you want to disable an alert rule and click View Alert Rules in the Actions column.
- On the Alert Rules page, find the alert rule that you want to disable and choose in the Actions column.
- In the Disable Alert Rule message, click Confirm.
Enable an alert rule
You can enable an alert rule only if the alert rule is in the Disabled state.
- Log on to the CloudMonitor console.
- In the left-side navigation pane, click .
- On the Container Service Monitoring page, find the cluster for which you want to enable an alert rule and click View Alert Rules in the Actions column.
- On the Alert Rules page, find the alert rule that you want to enable and choose in the Actions column.
- In the Enable Alert Rule message, click Confirm.