Huawei Cloud CBR¶
The displayed Metrics of Huawei Cloud CBR (Cloud Backup and Recovery) include bandwidth utilization, latency, packet loss rate, and network throughput, which reflect the performance and quality assurance of CBR in network transmission and bandwidth management.
Configuration¶
Install Func¶
It is recommended to activate the TrueWatch Integration - Extensions - DataFlux Func (Automata): all prerequisites are automatically installed, please proceed with the script installation.
If deploying Func manually, refer to Deploy Func Manually
Install Script¶
Note: Please prepare the Huawei Cloud AK that meets the requirements in advance (for simplicity, you can directly grant the global read-only permission
ReadOnlyAccess)
-
Log in to the Func console, click on 【Script Market】, enter the TrueWatch Script Market, and search for
ID: integration_huaweicloud_cbr -
Click 【Install】, then enter the corresponding parameters: Huawei Cloud AK, SK, and account name
-
Click 【Deploy Startup Script】, the system will automatically create the
Startupscript set and configure the corresponding startup script -
After enabling, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click 【Execute】 to execute it immediately without waiting for the scheduled time. Wait for a moment, and you can check the execution task records and corresponding logs
Verification¶
- In 「Management / Automatic Trigger Configuration」, confirm whether the corresponding task has the automatic trigger configuration, and check the corresponding task records and logs to see if there are any exceptions
- In TrueWatch, check if the asset information exists in 「Infrastructure / Custom」
- In TrueWatch, check if there is corresponding monitoring data in 「Metrics」
Metrics¶
After configuring HUAWEI SYS.CBR, the default Measurement is as follows. More Metrics can be collected through configuration Huawei Cloud Monitoring Metrics Details
| Metric ID | Metric Name | Metric Description | Value Range | Measurement Object (Dimension) | Monitoring Period (Raw Metric) |
|---|---|---|---|---|---|
| used_vault_size | Vault Usage | This Metric is used to count the usage capacity of the vault. Unit: GB. | >=0 | Vault | 15min |
| vault_util | Vault Utilization Rate | This Metric is used to count the utilization rate of the vault capacity. | 0~100% | Vault | 15min |
Object¶
The collected HUAWEI SYS.CBR object data structure can be seen in 「Infrastructure - Custom」
{
"measurement": "huaweicloud_cbr",
"tags": {
"RegionId" : "cn-north-4",
"id" : "aa5f3e93-0cea-404c-xxxx-3eec40142e0d",
"name" : "aa5f3e93-0cea-404c-xxxx-3eec40142e0d",
"project_id" : "c631f046252d4xxxxxx45f253c62d48585",
"provider_id" : "0dxxxxxxc5-6707-4851-xxxx-169e36266b66",
"user_id" : "6bb90c6e26624ae5b1dxxxxxx2f89e3a64",
"vault_name" : "vault-aba3"
},
"fields": {
"auto_bind" : false,
"auto_expand" : false,
"billing" : "{Operation Information}",
"bind_rules" : "{Binding Rules}",
"resources" : "{Vault Resources}",
"created_at" : "2023-07-24Txx : xx : xx.936999",
"threshold" : 80,
"message" : "{Instance JSON Data}"
}
}
Note: The fields in
tags,fieldsmay change with subsequent updatesTip 1: The value of
tags.nameis the instance ID, used as the unique identifierTip 2:
fields.message,fields.billing,fields.bind_rules,fields.message,fields.resourcesare all JSON serialized strings