Creating an Alarm Rule
This section describes how to create an alarm rule for CBR.
Hybrid cloud backup allows monitoring on vault capacity only. On-premises operations and events cannot be monitored.
Procedure
- Log in to the management console.
- Under Management & Governance, select Cloud Eye. In the navigation pane on the left, choose Cloud Service Monitoring > Cloud Backup and Recovery.
- Click Create Alarm Rule in the Operation column of the target vault.
- In the Create Alarm Rule dialog box, set the parameters.
- Set Name and Description. Figure 1 Configuring the alarm rule name and description
Table 1 Parameters for configuring the rule name and description Parameter
Description
Example Value
Name
Name of the alarm rule. The system generates a random name, which you can modify.
alarm-cgnw
Description
Alarm rule description. This parameter is optional.
-
- Set alarm content parameters. Figure 2 CBR vault-based alarm rule configuration
Figure 3 CBR event-based alarm rule configuration
- If you select Cloud Backup and Recovery for Resource Type, vaults are monitored with two metrics. Table 2 describes the parameters.
Table 2 Parameters Parameter
Description
Example Value
Resource Type
Cloud Backup and Recovery is selected in this example.
Cloud Backup and Recovery
Dimension
Monitoring dimension. By default, monitoring is performed by vault.
Vault
Monitoring Scope
Select the vaults to be monitored as needed.
vault-56f8
Method
You can create an alarm rule by using the template or manually creating it.
NOTE:If you set Monitoring Scope to Specific resources, you can set Method to Use template.
Use template
Template
Template to be used.
-
Alarm Policy
Policy for triggering an alarm.
If you set Resource Type to a specific cloud service, the alarm policy takes effect periodically. If you set Resource Type to Event Monitoring, the alarm policy takes effect based on specific events. Currently, the following CBR monitoring metrics are supported:
- Vault Usage
- Used Vault Size
-
Alarm Severity
Alarm severity, which can be Critical, Major, Minor, or Informational.
Major
- If you set Resource Type to Event Monitoring, CBR resources are monitored based on specific events. Table 2 describes the parameters.
Table 3 Parameters Parameter
Description
Example Value
Resource Type
Event Monitoring is selected in this example.
Event Monitoring
Dimension
Metric dimension of the selected resource type.
System event
Monitoring Scope
Monitoring scope for event monitoring.
Default value: All resources
-
Method
Select Configure manually.
Configure manually
Alarm Policy
Policy for triggering an alarm.
Table 4 lists the supported CBR events that trigger alarms.
-
Table 4 CBR events that trigger alarms Event Source
Event Name
Alarm Severity
Description
Solution
Impact
CBR
Failed to create the backup.
Critical
Backup creation failed.
Manually create a backup or contact customer service.
Data loss may occur.
Failed to restore the resource using a backup.
Critical
Resource restoration using a backup failed.
Restore the resource using another backup or contact customer service.
Data loss may occur.
Failed to delete the backup.
Critical
Backup deletion failed.
Try again later or contact customer service.
Charging may be abnormal.
Failed to delete the vault.
Critical
Vault deletion failed.
Try again later or contact customer service.
Charging may be abnormal.
Replication failure
Critical
Backup replication failed.
Try again later or contact customer service.
Data loss may occur.
The backup is created successfully.
Major
Backup creation succeeded.
N/A
N/A
Resource restoration using a backup succeeded.
Major
Resource restoration using a backup succeeded.
Check that data is successfully restored.
N/A
The backup is deleted successfully.
Major
Backup deletion succeeded.
N/A
N/A
The vault is deleted successfully.
Major
Vault deletion succeeded.
N/A
N/A
Replication success
Major
Backup replicated
N/A
N/A
- If you select Cloud Backup and Recovery for Resource Type, vaults are monitored with two metrics. Table 2 describes the parameters.
- Configure the alarm notification. Figure 4 Configuring alarm notification
Table 5 Parameters for configuring alarm notification Parameter
Description
Example Value
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.
You can enable (recommended) or disable Alarm Notification.
-
Validity Period
Cloud Eye sends notifications only within the validity period specified in the alarm rule.
For example, if Validity Period is set to 00:00-8:00, Cloud Eye sends notifications only within 00:00-8:00.
-
Notification Object
Specifies the name of the topic the alarm notification is to be sent to.
If you enable alarm notification, you need to select a topic. If no desirable topics are available, you need to create one first, whereupon the SMN service is invoked. For details about how to create a topic, see Simple Message Notification User Guide.
-
Trigger Condition
Specifies the condition for triggering the alarm notification. You can select Generated alarm, Cleared alarm, or both.
-
- Click Create.
- Set Name and Description.
After the alarm rule is created, if the metric data reaches the specified threshold or a CBR event happens, Cloud Eye immediately informs you that an exception has occurred. For details, see Cloud Eye User Guide.
Last Article: CBR Metrics
Next Article: Auditing
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.