Bir sistem olayının ayrıntılarını sorgular.
Hata Ayıklama
İstek parametreleri
| Parameter | Type | Required | Example | Description |
| Action | String | Yes | DescribeSystemEventAttribute | Gerçekleştirmek istediğiniz işlem. Değeri DescribeSystemEventAttribute olarak ayarlayın. |
| Product | String | No | oss | Alibaba Cloud hizmet adının kısaltması. Not Bir Alibaba Cloud hizmet adının kısaltmasını öğrenmek için bkz. DescribeSystemEventMetaList. |
| EventType | String | No | Exception | Sistem olayının türü. Not Bir sistem olayının türünü öğrenmek için bkz. DescribeSystemEventMetaList. |
| Name | String | No | BucketIngressBandwidth | Sistem olayının adı. Not Bir sistem olayının adını öğrenmek için bkz. DescribeSystemEventMetaList. |
| Level | String | No | CRITICAL | Sistem olayının düzeyi. Geçerli değerler:
|
| Status | String | No | normal | Sistem olayının durumu. Not Bir sistem olayının durumunu öğrenmek için bkz. DescribeSystemEventMetaList. |
| GroupId | String | No | 12346 | Uygulama grubunun kimliği. |
| SearchKeywords | String | No | cms | Sistem olayını aramak için kullanılan anahtar sözcükler. Anahtar sözcükleri bir mantıksal işleçle birleştirebilirsiniz. Geçerli değerler:
|
| StartTime | String | No | 1552199984949 | Verileri sorgulamak için zaman aralığının başlangıcı. Değer bir UNIX zaman damgasıdır. 1 Ocak 1970 Perşembe günü UTC saat 00:00:00'dan bu yana geçen saniye sayısını ifade eder. |
| EndTime | String | No | 1552221584949 | Verileri sorgulamak için zaman aralığının bitişi. Değer bir UNIX zaman damgasıdır. 1 Ocak 1970 Perşembe günü UTC saat 00:00:00'dan bu yana geçen saniye sayısını ifade eder. |
| PageNumber | Integer | No | 1 | Döndürülecek sayfanın numarası. Geçerli değerler: 1 ile 100000000. Varsayılan değer: 1. |
| PageSize | Integer | No | 10 | Her sayfada döndürülecek girdi sayısı. Geçerli değerler: 1 ile 100. Varsayılan değer: 10. |
Yanıt parametreleri
| Parameter | Type | Example | Description |
| Code | String | 200 | HTTP durum kodu. Not 200 durum kodu, çağrının başarılı olduğunu gösterir. |
| Message | String | success | Dönen mesaj. Çağrı başarılı olursa |
| RequestId | String | 60912C8D-B340-4253-ADE7-61ACDFD25CFC | İsteğin kimliği. |
| Success | String | true | Çağrının başarılı olup olmadığını belirtir. true değeri başarıyı, false değeri ise başarısızlığı gösterir. |
| SystemEvents | Array of SystemEvent | Sistem olayının ayrıntıları. |
|
| SystemEvent | |||
| Status | String | normal | Sistem olayının durumu. |
| Time | Long | 1552199984000 | Sistem olayının gerçekleştiği zaman damgası. Birim: milisaniye. |
| GroupId | String | 12345 | Uygulama grubunun kimliği. |
| Product | String | CloudMonitor | Alibaba Cloud hizmet adının kısaltması. |
| InstanceName | String | instanceId1 | Örneğin adı. |
| ResourceId | String | xxxxx-1 | Kaynağın kimliği. |
| Name | String | Agent_Status_Stopped | Sistem olayının adı. |
| Content | String | [{"product":"CloudMonitor","content":"{\"ipGroup\":\"112.126.XX.XX,10.163.XX.XX\",\"tianjimonVersion\":\"1.2.22\"}","groupId":"176,177,178,179,180,692,120812,1663836,96,2028302","time":"1552209568000","resourceId":"acs:ecs:cn-beijing:173651113438****:instance/i-25k35****","level":"CRITICAL","status":"stopped","instanceName":"cmssiteprobebj-6","name":"Agent_Status_Stopped","regionId":"cn-beijing"}] | Sistem olayının ayrıntıları. |
| Level | String | WARN | Sistem olayının düzeyi. Geçerli değerler:
|
| RegionId | String | cn-hangzhou | Bölgenin kimliği. |
Örnekler
Örnek istekler
http(s)://[Endpoint]/?Action=DescribeSystemEventAttribute
&<Common request parameters>
Örnek başarılı yanıt
XML biçimi
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeSystemEventAttribute>
<SystemEvents>
<SystemEvent>
<Status>normal</Status>
<InstanceName>instanceId1</InstanceName>
<ResourceId>xxxxx-1</ResourceId>
<Content>[{\"product\":\"CloudMonitor\",\"content\":\"{\\\"ipGroup\\\":\\\"112.126.XX.XX,10.163.XX.XX\\\",\\\"tianjimonVersion\\\":\\\"1.2.22\\\"}\",\"groupId\":\"176,177,178,179,180,692,120812,1663836,96,2028302\",\"time\":\"1552209568000\",\"resourceId\":\"acs:ecs:cn-beijing:173651113438****:instance/i-25k35****\",\"level\":\"CRITICAL\",\"status\":\"stopped\",\"instanceName\":\"cmssiteprobebj-6\",\"name\":\"Agent_Status_Stopped\",\"regionId\":\"cn-beijing\"}]</Content>
<Product>CloudMonitor</Product>
<Level>WARN</Level>
<Time>1552199984000</Time>
<RegionId>cn-hangzhou</RegionId>
<Name>Agent_Status_Stopped</Name>
<GroupId>12345</GroupId>
</SystemEvent>
</SystemEvents>
<Message>success</Message>
<RequestId>60912C8D-B340-4253-ADE7-61ACDFD25CFC</RequestId>
<Code>200</Code>
<Success>true</Success>
</DescribeSystemEventAttribute>
JSON biçimi
HTTP/1.1 200 OK
Content-Type:application/json
{
"SystemEvents" : {
"SystemEvent" : [ {
"Status" : "normal",
"InstanceName" : "instanceId1",
"ResourceId" : "xxxxx-1",
"Content" : "[{\"product\":\"CloudMonitor\",\"content\":\"{\\\"ipGroup\\\":\\\"112.126.XX.XX,10.163.XX.XX\\\",\\\"tianjimonVersion\\\":\\\"1.2.22\\\"}\",\"groupId\":\"176,177,178,179,180,692,120812,1663836,96,2028302\",\"time\":\"1552209568000\",\"resourceId\":\"acs:ecs:cn-beijing:173651113438****:instance/i-25k35****\",\"level\":\"CRITICAL\",\"status\":\"stopped\",\"instanceName\":\"cmssiteprobebj-6\",\"name\":\"Agent_Status_Stopped\",\"regionId\":\"cn-beijing\"}]",
"Product" : "CloudMonitor",
"Level" : "WARN",
"Time" : "1552199984000",
"RegionId" : "cn-hangzhou",
"Name" : "Agent_Status_Stopped",
"GroupId" : "12345"
} ]
},
"Message" : "success",
"RequestId" : "60912C8D-B340-4253-ADE7-61ACDFD25CFC",
"Code" : "200",
"Success" : "true"
}
Hata kodları
|
HttpCode |
Error code |
Error message |
Description |
|
404 |
ResourceNotFound |
The specified resource is not found. |
Belirtilen kaynak bulunamadığı için dönen hata mesajı. |
Hata kodlarının listesi için bkz. Hizmet hata kodları.