本文介紹Block Storage事件通過CloudMonitor和配置審計接入,作為事件來源發布到事件匯流排EventBridge的事件類型。
事件類型
支援發布到事件匯流排EventBridge的事件類型如下所示。
事件類型 | type參數值 |
ebs:Disk:DiskBPSExceedDiskMaxLimit | |
ebs:Disk:DiskBPSExceedInstanceMaxLimit | |
ebs:Disk:DiskIOHang | |
ebs:Disk:DiskIOPSExceedDiskMaxLimit | |
ebs:Disk:DiskIOPSExceedInstanceMaxLimit | |
ebs:Disk:DiskSlowIOTriggerred | |
ebs:Disk:InstanceBPSExceedInstanceMaxLimit | |
ebs:Disk:InstanceIOPSExceedInstanceMaxLimit | |
ebs:Disk:DiskIONo4kAligned | |
ebs:Disk:NoSnapshot | |
ebs:Disk:DiskSpecNotMatchedWithInstance | |
阿里雲平台對資源執行的操作事件 | ebs:ActionTrail:AliyunServiceEvent |
API調用 | ebs:ActionTrail:ApiCall |
操作台控制事件 | ebs:ActionTrail:ConsoleOperation |
CloudEvents規範中定義的參數解釋,請參見事件概述。
磁碟BPS達到磁碟上限需要擴容
當您的磁碟BPS達到磁碟上限,需要擴容時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:DiskBPSExceedDiskMaxLimit",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "DiskBPSExceedDiskMaxLimit",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****",
"TotalMinutes": 1390
},
"resourceType": "Disk"
}
}
data欄位包含的參數解釋如下表所示。
參數 | 類型 | 樣本值 | 描述 |
eventId | String | e-2zec86**** | 事件ID。 |
resourceId | String | d-2zef8thfnbx**** | 資源ID。 |
eventCategory | String | Disk | 事件類別目錄。 |
eventLevel | String | INFO | 事件層級。 |
eventName | String | DiskBPSExceedDiskMaxLimit | 事件名稱。 |
extraAttributes | String | 其他資訊。 | |
EcsInstanceId | String | i-bp1dj**** | 掛載的ECS執行個體ID。 |
resourceType | String | Disk | 資源類型。 |
eventStatus | String | WillExecute | 事件狀態。 |
startTime | Number | 1694507354000 | 事件開始時間。 |
endTime | Number | 1694507354001 | 事件結束時間。 |
TotalMinutes | Int | 1390 | 事件持續時間長度。 |
磁碟BPS達到執行個體上限需要擴容
當磁碟BPS打到執行個體上限,需要擴容時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:DiskBPSExceedInstanceMaxLimit",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "DiskBPSExceedInstanceMaxLimit",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****",
"TotalMinutes": 1390
},
"resourceType": "Disk"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
磁碟IO Hang
當磁碟 IO Hang時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:DiskIOHang",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "DiskIOHang",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****"
},
"resourceType": "Disk"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
磁碟IOPS達到磁碟上限需要擴容
當您的磁碟IOPS達到磁碟上限,需要擴容時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:DiskIOPSExceedDiskMaxLimit",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "DiskIOPSExceedDiskMaxLimit",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****",
"TotalMinutes": 1390
},
"resourceType": "Disk"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
磁碟IOPS達到執行個體上限需要擴容
當您的磁碟IOPS達到執行個體上限,需要擴容時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:DiskIOPSExceedInstanceMaxLimit",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "DiskIOPSExceedInstanceMaxLimit",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****",
"TotalMinutes": 1390
},
"resourceType": "Disk"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
磁碟存在慢IO
當磁碟存在慢IO時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:DiskSlowIOTriggerred",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "DiskSlowIOTriggerred",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****"
},
"resourceType": "Disk"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
執行個體BPS達到上限
當檢測到執行個體BPS達到上限時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "e-2zec86*******",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:InstanceBPSExceedInstanceMaxLimit",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "InstanceBPSExceedInstanceMaxLimit",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****",
"TotalMinutes": 1390
},
"resourceType": "Disk"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
執行個體IOPS達到上限
當執行個體IOPS達到上限時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "e-2zec86*******",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:InstanceIOPSExceedInstanceMaxLimit",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "InstanceIOPSExceedInstanceMaxLimit",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****",
"TotalMinutes": 1390
},
"resourceType": "Disk"
}
}
關於data欄位包含的參數解釋,請參見參數解析。
雲端硬碟IO行為檢測到非4K對齊
當您的雲端硬碟IO行為檢測到非4K對齊,可能影響您的雲端硬碟IO效能。事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "e-2zec86*******",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:DiskIONo4kAligned",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "DiskIONo4kAligned",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****"
},
"resourceType": "Disk"
}
關於data欄位包含的參數解釋,請參見參數解析。
檢測到雲端硬碟需要快照保護
當檢測到您的雲端硬碟需要快照保護時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:NoSnapshot",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "NoSnapshot",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****"
},
"resourceType": "Disk"
}
}
磁碟效能規格達到執行個體規格上限
當您的磁碟效能規格達到執行個體規格上限時,事件匯流排EventBridge接收到的樣本事件如下所示。
{
"id": "45ef4dewdwe1-7c35-447a-bd93-fab****",
"source": "acs.ebs",
"specversion": "1.0",
"subject": "acs.ebs:cn-hangzhou:123456789098****:215672",
"time": "2020-11-19T21:04:41+08:00",
"type": "ebs:Disk:DiskSpecNotMatchedWithInstance",
"aliyunaccountid": "123456789098****",
"aliyunpublishtime": "2020-11-19T21:04:42Z",
"aliyuneventbusname": "default",
"aliyunregionid": "cn-hangzhou",
"aliyunpublishaddr": "172.25.XX.XX",
"data": {
"eventId": "e-2zec86*******",
"resourceId": "d-2zef8thfnbx*****",
"eventLevel": "INFO",
"eventCategory": "Disk",
"eventStatus": "WillExecute",
"eventName": "DiskSpecNotMatchedWithInstance",
"startTime": 1694507354000,
"extraAttributes": {
"EcsInstanceId": "i-bp1dj*****"
},
"resourceType": "Disk"
}
}