文档
测试

待处理告警事件

POST
http://localhost:9024/monitors/index/alarmEvent/list

请求参数

参数名
类型
描述
必填
pageNo
int
示例:1
必填
limit
int
示例:20
必填
paramData
object
数据字典
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
success
boolean
示例:true
必填
msg
string
示例:成功
必填
data
array
数据列表
必填
id
int
示例:139
必填
alarmName
string
待处理告警事件名称
必填
alarmTime
string
时间
必填
alarmCount
int
告警数量
必填
alarmTypeDescription
int
告警事件分类描述
必填

说明 / 示例

响应: ```{ "code": 200, "success": true, "msg": "成功", "data": [ { "id": 139, "alarmId": "1f1d23ea4410f036", "alarmName": "MySQL Network Traffic", "alarmTime": "2023-03-09 00:00:00", "alarmType": 10, "createTime": "2023-03-09 12:06:47", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-09 00:00:00", "lastAlarmTime": "2023-03-09 00:00:00", "alarmDetails": "[ metric='Inbound' labels={instance=localhost:9104, job=mysql_exporter} value=22914.7375 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null }, { "id": 138, "alarmId": "5057d6ffa8c18784", "alarmName": "Sockstat Memory Size", "alarmTime": "2023-03-09 00:00:00", "alarmType": 10, "createTime": "2023-03-09 12:06:43", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-09 00:00:00", "lastAlarmTime": "2023-03-09 00:00:00", "alarmDetails": "[ metric='mem_bytes - TCP sockets in that state' labels={__name__=node_sockstat_TCP_mem_bytes, instance=localhost:9100, job=node} value=831488 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null }, { "id": 137, "alarmId": "1f1d23ea4410f036", "alarmName": "MySQL Network Traffic", "alarmTime": "2023-03-09 00:00:00", "alarmType": 10, "createTime": "2023-03-09 08:01:47", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-09 00:00:00", "lastAlarmTime": "2023-03-09 00:00:00", "alarmDetails": "[ metric='Inbound' labels={instance=localhost:9104, job=mysql_exporter} value=22831.679166666665 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null }, { "id": 136, "alarmId": "5057d6ffa8c18784", "alarmName": "Sockstat Memory Size", "alarmTime": "2023-03-09 00:00:00", "alarmType": 10, "createTime": "2023-03-09 08:01:43", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-09 00:00:00", "lastAlarmTime": "2023-03-09 00:00:00", "alarmDetails": "[ metric='mem_bytes - TCP sockets in that state' labels={__name__=node_sockstat_TCP_mem_bytes, instance=localhost:9100, job=node} value=843776 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null }, { "id": 135, "alarmId": "1f1d23ea4410f036", "alarmName": "MySQL Network Traffic", "alarmTime": "2023-03-09 00:00:00", "alarmType": 10, "createTime": "2023-03-09 03:56:47", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-09 00:00:00", "lastAlarmTime": "2023-03-09 00:00:00", "alarmDetails": "[ metric='Inbound' labels={instance=localhost:9104, job=mysql_exporter} value=22865.683333333334 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null }, { "id": 134, "alarmId": "5057d6ffa8c18784", "alarmName": "Sockstat Memory Size", "alarmTime": "2023-03-09 00:00:00", "alarmType": 10, "createTime": "2023-03-09 03:56:43", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-09 00:00:00", "lastAlarmTime": "2023-03-09 00:00:00", "alarmDetails": "[ metric='mem_bytes - TCP sockets in that state' labels={__name__=node_sockstat_TCP_mem_bytes, instance=localhost:9100, job=node} value=688128 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null }, { "id": 133, "alarmId": "1f1d23ea4410f036", "alarmName": "MySQL Network Traffic", "alarmTime": "2023-03-08 00:00:00", "alarmType": 10, "createTime": "2023-03-08 23:51:47", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-08 00:00:00", "lastAlarmTime": "2023-03-08 00:00:00", "alarmDetails": "[ metric='Inbound' labels={instance=localhost:9104, job=mysql_exporter} value=22958.441666666666 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null }, { "id": 132, "alarmId": "5057d6ffa8c18784", "alarmName": "Sockstat Memory Size", "alarmTime": "2023-03-08 00:00:00", "alarmType": 10, "createTime": "2023-03-08 23:51:43", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-08 00:00:00", "lastAlarmTime": "2023-03-08 00:00:00", "alarmDetails": "[ metric='mem_bytes - TCP sockets in that state' labels={__name__=node_sockstat_TCP_mem_bytes, instance=localhost:9100, job=node} value=884736 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null }, { "id": 131, "alarmId": "1f1d23ea4410f036", "alarmName": "MySQL Network Traffic", "alarmTime": "2023-03-08 00:00:00", "alarmType": 10, "createTime": "2023-03-08 19:46:47", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-08 00:00:00", "lastAlarmTime": "2023-03-08 00:00:00", "alarmDetails": "[ metric='Inbound' labels={instance=localhost:9104, job=mysql_exporter} value=23005.779166666667 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null }, { "id": 130, "alarmId": "5057d6ffa8c18784", "alarmName": "Sockstat Memory Size", "alarmTime": "2023-03-08 00:00:00", "alarmType": 10, "createTime": "2023-03-08 19:46:43", "operation": 0, "remark": null, "alarmLevel": 4, "isRecovery": 0, "alarmCount": null, "firstAlarmTime": "2023-03-08 00:00:00", "lastAlarmTime": "2023-03-08 00:00:00", "alarmDetails": "[ metric='mem_bytes - TCP sockets in that state' labels={__name__=node_sockstat_TCP_mem_bytes, instance=localhost:9100, job=node} value=700416 ]", "pushId": null, "alarmTypeDescription": "修改二级分类名称111", "recoveryTime": null } ] } ```