- 介绍
- /api/n9e 接口
- 告警规则
- 订阅规则
- 屏蔽规则
- 告警事件
- 通知规则
- 机器列表
- 团队管理
- 业务组管理
- 用户管理
- 权限管理
- 采集配置
- 网络设备
- 告警管理
- 指标视图
- 告警自愈
- 采集配置
- 网络设备
- pingmesh
- pingmesh-idc网络规则注册
- pingmesh-idc网络规则修改
- pingmesh-idc网络规则查询
- pingmesh-idc网络规则删除
- pingmesh-idc间ping规则配置注册
- pingmesh-idc间ping规则配置查看
- pingmesh-idc间ping规则配置修改
- pingmesh-idc间ping规则配置删除
- pingmesh-ping动作开关设置
- pingmesh-ping动作开关查询
- pingmesh-idc之间拓扑图
- pingmesh-idc内netident拓扑
- pingmesh-netident内server之间拓扑
- pingmesh-查询指标历史数据
- pingmesh-idc网络规则注册(From CMDB)
- pingmesh-报警规则导出
- 数据查询
- 仪表盘
- 模板中心
- 拨测任务API
- 集成仪表盘
- 审计管理
- 数据源
- 全局屏蔽
- 仪表盘标注
- 通知媒介
- 消息模板
- auth认证
- metricsDesc
- 通知配置-待下线
- 快捷视图(指标)
- 变量设置
- 单点登陆
- 用户信息--待删除(与用户管理重复)
- /v1/n9e 接口
获取选中模板的某类模板
GET
https://api.flashcat.cloud/api/n9e/builtin-payloads
最后修改时间:2024-05-24 07:44:06
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
component
string
必需
示例值:
Linux
type
string
必需
示例值:
alert|dashboard|collect|metric
cate
string
可选
query
string
可选
示例值:
模糊搜索 name 和 tags
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e/builtin-payloads?component=Linux&type=alert|dashboard|collect|metric&cate&query=模糊搜索 name 和 tags'
返回响应
🟢200成功
application/json
Body
dat
object
必需
阿里云-CDN
array [object {10}]
必需
阿里云-MongoDB分片集群
array [object {10}]
必需
阿里云-MongoDB副本集
array [object {10}]
必需
阿里云-MongoDB单实例
array [object {10}]
必需
阿里云-NAT
array [object {10}]
必需
err
string
必需
示例
{
"dat": {
"阿里云-CDN": [
{
"id": 573,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-CDN",
"name": "阿里云CDN 边缘状态码5XX占比 超过1%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"阿里云CDN 边缘状态码5XX占比 超过1%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":0,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_cdn_code5xx_isp_value{} \> 1\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"network_device_config\":{},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 574,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-CDN",
"name": "阿里云CDN 边缘状态码4XX占比 达到100%",
"content": "{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"阿里云CDN 边缘状态码4XX占比 达到100%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":0,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_cdn_code4xx_isp_value{} ==100\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"network_device_config\":{},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
}
],
"阿里云-MongoDB分片集群": [
{
"id": 575,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB分片集群",
"name": "Mongo分片集群-CPU利用率大于50%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo分片集群-CPU利用率大于50%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_sharding_cpu_utilization_average \> 50\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 576,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB分片集群",
"name": "Mongo分片集群-IOPS利用率大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo分片集群-IOPS利用率大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_sharding_iops_utilization_average \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 577,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB分片集群",
"name": "Mongo分片集群-QPS超过突增100% ",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo分片集群-QPS超过突增100% \",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[3],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"rate(aliyun_acs_mongodb_sharding_qps_average[5m]) * 100 \> 100\",\"severity\":3}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 578,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB分片集群",
"name": "Mongo分片集群-主从延迟超过5秒",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo分片集群-主从延迟超过5秒\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_sharding_replication_lag_average \> 5\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 579,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB分片集群",
"name": "Mongo分片集群-内存利用率大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo分片集群-内存利用率大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_sharding_memory_utilization_average \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 580,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB分片集群",
"name": "Mongo分片集群-磁盘利用率大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo分片集群-磁盘利用率大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_sharding_disk_utilization_average \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
}
],
"阿里云-MongoDB副本集": [
{
"id": 581,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB副本集",
"name": "Mongo副本集-CPU利用率大于50%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo副本集-CPU利用率大于50%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_cpu_utilization_average \> 50\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 582,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB副本集",
"name": "Mongo副本集-IOPS利用率大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo副本集-IOPS利用率大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_iops_utilization_average \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 583,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB副本集",
"name": "Mongo副本集-QPS超过突增100% ",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo副本集-QPS超过突增100% \",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[3],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"rate(aliyun_acs_mongodb_qps_average[5m]) * 100 \> 100\",\"severity\":3}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 584,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB副本集",
"name": "Mongo副本集-主从延迟超过5秒",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo副本集-主从延迟超过5秒\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_replication_lag_average \> 5\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 585,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB副本集",
"name": "Mongo副本集-内存利用率大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo副本集-内存利用率大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_memory_utilization_average \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 586,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB副本集",
"name": "Mongo副本集-磁盘利用率大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo副本集-磁盘利用率大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_disk_utilization_average \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
}
],
"阿里云-MongoDB单实例": [
{
"id": 587,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB单实例",
"name": "Mongo单节点实例-磁盘利用率大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo单节点实例-磁盘利用率大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_single_node_disk_utilization_average \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 588,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB单实例",
"name": "Mongo单节点实例-内存利用率大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo单节点实例-内存利用率大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_single_node_memory_utilization_average \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 589,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB单实例",
"name": "Mongo单节点实例-CPU利用率大于50%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo单节点实例-CPU利用率大于50%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_mongodb_single_node_cpu_utilization_average \> 50\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 590,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-MongoDB单实例",
"name": "Mongo单节点实列-QPS超过突增100% ",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"Mongo单节点实列-QPS超过突增100% \",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[3],\"disabled\":1,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"rate(aliyun_acs_mongodb_single_node_qps_average[5m]) * 100 \> 100\",\"severity\":3}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
}
],
"阿里云-NAT": [
{
"id": 591,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-NAT",
"name": "阿里云-NAT-并发连接水位大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"阿里云-NAT-并发连接水位大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":0,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_nat_gateway_session_active_connection_water_lever_value \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"network_device_config\":{},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
},
{
"id": 592,
"type": "alert",
"component": "AliYun",
"cate": "阿里云-NAT",
"name": "阿里云-NAT-新建连接水位大于80%",
"content":"{\"id\":0,\"group_id\":0,\"cate\":\"prometheus\",\"datasource_ids\":[1],\"cluster\":\"\",\"name\":\"阿里云-NAT-新建连接水位大于80%\",\"note\":\"\",\"prod\":\"metric\",\"algorithm\":\"\",\"algo_params\":null,\"delay\":0,\"severity\":0,\"severities\":[2],\"disabled\":0,\"prom_for_duration\":60,\"prom_ql\":\"\",\"rule_config\":{\"queries\":[{\"prom_ql\":\"aliyun_acs_nat_gateway_session_new_connection_water_lever_value \> 80\",\"severity\":2}]},\"prom_eval_interval\":30,\"enable_stime\":\"00:00\",\"enable_stimes\":[\"00:00\"],\"enable_etime\":\"00:00\",\"enable_etimes\":[\"00:00\"],\"enable_days_of_week\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"],\"enable_days_of_weeks\":[[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\"]],\"enable_in_bg\":0,\"notify_recovered\":1,\"notify_channels\":[],\"notify_groups_obj\":null,\"notify_groups\":null,\"notify_repeat_step\":60,\"notify_max_number\":0,\"recover_duration\":0,\"callbacks\":[],\"runbook_url\":\"\",\"append_tags\":[],\"annotations\":{},\"extra_config\":{\"escalation\":{\"for_duration\":60,\"new_severity\":2,\"notify_max_number\":0,\"notify_repeat_step\":60},\"network_device_config\":{},\"notify_aggregation\":{\"wait\":1}},\"create_at\":0,\"create_by\":\"\",\"update_at\":0,\"update_by\":\"\"}",
"created_at": 1713942985,
"created_by": "system",
"updated_at": 1713942985,
"updated_by": ""
}
]
},
"err": ""
}

添加官方技术人员微信
在这里,获得使用上的任何帮助,快速上手企业告警一站式响应平台FlashDuty


修改于 2024-05-24 07:44:06