Skip to main content

实时告警数据列表

实时告警列表

接口描述
  • 通过该接口获取系统中实时告警列表
请求URL
  • http://host/bbm/v2/adapter/current/alert
请求方式
  • ==GET==
header 请求头参数
参数名必选类型说明示例值及参考API
content-typestringapplication/json
Authorizationstring签名描述Bearer + 登录token
请求示例
http://host/bbm/v2/adapter/current/alert

请求参数示例

返回参数说明

  • http_status && status_code 为200 为成功
  • 否则均为失败或者异常
字段字段示例字段说明是否必填
id1主键id
name告警名称
summary告警内容
description告警描述
severity等级
instance_id数据库id
instance_system_code数据库标识符
instance_name数据库名称
instance_db_type数据库类型
starts_at告警开始时间
updated_at告警最新时间
返回示例
{
"status_code": 200,
"code": "",
"message": "",
"detail": "",
"alert": "",
"to_wiki": "",
"data": [
{
"id": 7015,
"name": "Oracle数据源可访问性告警",
"summary": "Oralcel可访问性检查未采集到数据",
"advise": "",
"description": "Oralcel可访问性检查未采集到数据",
"severity": "LV1",
"instance_id": 3,
"instance_system_code": "oracle",
"instance_name": "oracle",
"instance_db_type": "oracle",
"starts_at": 1727695585519,
"updated_at": 1728703002226
},
{
"id": 7014,
"name": "Oracle数据源可访问性告警",
"summary": "Oralcel可访问性检查未采集到数据",
"advise": "",
"description": "Oralcel可访问性检查未采集到数据",
"severity": "LV1",
"instance_id": 5,
"instance_system_code": "oracle-1",
"instance_name": "oracle-1",
"instance_db_type": "oracle",
"starts_at": 1727695405289,
"updated_at": 1728703003085
}
]
}