更新时间:2024-05-14 GMT+08:00

告警

“√”表示支持,“x”表示暂不支持。

表1 告警

权限

对应API接口

授权项

IAM项目(Project)

企业项目(Enterprise Project)

新增一条事件类告警规则

POST /v2/{project_id}/event2alarm-rule

aom:event2AlarmRule:create

×

查询事件类告警规则列表

GET /v2/{project_id}/event2alarm-rule

aom:event2AlarmRule:list

×

更新事件类告警规则

PUT /v2/{project_id}/event2alarm-rule

aom:event2AlarmRule:set

×

删除事件类告警规则

DELETE /v2/{project_id}/event2alarm-rule

aom:event2AlarmRule:delete

×

获取告警发送结果

GET /v2/{project_id}/alarm-notified-histories

aom:alarm:list

×

删除静默规则

DELETE /v2/{project_id}/alert/mute-rules

aom:muteRule:delete

新增静默规则

POST /v2/{project_id}/alert/mute-rules

aom:muteRule:create

修改静默规则

PUT /v2/{project_id}/alert/mute-rules

aom:muteRule:update

获取静默规则列表

GET /v2/{project_id}/alert/mute-rules

aom:muteRule:list

通过规则名称获取告警行动规则

GET /v2/{project_id}/alert/action-rules/{rule_name}

aom:actionRule:get

新增告警行动规则

POST /v2/{project_id}/alert/action-rules

aom:actionRule:create

删除告警行动规则

DELETE /v2/{project_id}/alert/action-rules

aom:actionRule:delete

修改告警行动规则

PUT /v2/{project_id}/alert/action-rules

aom:actionRule:update

获取告警行动规则列表

GET /v2/{project_id}/alert/action-rules

aom:actionRule:list

查询事件告警信息

POST /v2/{project_id}/events

aom:alarm:list

×

统计事件告警信息

POST /v2/{project_id}/events/statistic

aom:alarm:list

×

上报事件告警信息

PUT /v2/{project_id}/push/events

aom:alarm:put

×