Queries the information about an alert rule.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeDedicatedClusterMonitorRule | The operation that you want to perform. Set the value to DescribeDedicatedClusterMonitorRule. |
DedicatedClusterId | String | No | dtsClustervcwn1oeyu5fx4yf | The ID of the cluster. |
RegionId | String | No | cn-hangzhou | The ID of the region in which the instance resides. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
HttpStatusCode | String | 200 | The HTTP status code. |
RequestId | String | 621BB4F8-3016-4FAA-8D5A-5D3163CC**** | The request ID. |
ErrCode | String | InternalError | The error code returned if the request failed. |
Success | String | true | Indicates whether the request was successful. |
ErrMessage | String | The Value of Input Parameter %s is not valid. | The error message returned if the request failed. |
DedicatedClusterId | String | dtsClustervcwn1oeyu5fx4yf | The ID of the cluster. |
NoticeSwitch | String | 1 | Indicates whether the alert feature is enabled. Valid values:
|
DuAlarmThreshold | String | 46 | The alert threshold for DTS Unit (DU) usage. Unit: percentage. |
CpuAlarmThreshold | String | 80 | The alert threshold for CPU utilization. Unit: percentage. |
MemAlarmThreshold | String | 80 | The alert threshold for memory usage. Unit: percentage. |
DiskAlarmThreshold | String | 80 | The alert threshold for disk usage. Unit: percentage. |
Phones | String | 186****7653 | The mobile phone number to which alerts are sent. Separate multiple mobile phone numbers with commas (,). |
Examples
Sample requests
http(s)://dts.aliyuncs.com/?Action=DescribeDedicatedClusterMonitorRule
&DedicatedClusterId=dtsClustervcwn1oeyu5fx4yf
&RegionId=cn-hangzhou
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeDedicatedClusterMonitorRuleResponse>
<code>200</code>
<data>
<NoticeSwitch>0</NoticeSwitch>
<RequestId>F3284539-46AC-1BC3-A2A6-****</RequestId>
<DedicatedClusterId>dtscluster_w4****</DedicatedClusterId>
<Phones>159****2120</Phones>
<DuAlarmThreshold>100</DuAlarmThreshold>
<CpuAlarmThreshold>85</CpuAlarmThreshold>
<MemAlarmThreshold>99</MemAlarmThreshold>
<DiskAlarmThreshold>99</DiskAlarmThreshold>
<HttpStatusCode>200</HttpStatusCode>
<Success>true</Success>
</data>
<httpStatusCode>200</httpStatusCode>
<requestId>F3284539-46AC-1BC3-A2A6-****</requestId>
<successResponse>true</successResponse>
</DescribeDedicatedClusterMonitorRuleResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"code" : "200",
"data" : {
"NoticeSwitch" : 0,
"RequestId" : "F3284539-46AC-1BC3-A2A6-****",
"DedicatedClusterId" : "dtscluster_w4****",
"Phones" : "159****2120",
"DuAlarmThreshold" : 100,
"CpuAlarmThreshold" : 85,
"MemAlarmThreshold" : 99,
"DiskAlarmThreshold" : 99,
"HttpStatusCode" : 200,
"Success" : true
},
"httpStatusCode" : "200",
"requestId" : "F3284539-46AC-1BC3-A2A6-****",
"successResponse" : true
}
Error codes
For a list of error codes, see Service error codes.