134 lines
2.8 KiB
JSON
134 lines
2.8 KiB
JSON
[
|
|
{
|
|
"name": "【Zookeeper】Zookeeper instance is not ok",
|
|
"note": "",
|
|
"prod": "",
|
|
"algorithm": "",
|
|
"algo_params": null,
|
|
"delay": 0,
|
|
"severity": 2,
|
|
"disabled": 0,
|
|
"prom_for_duration": 120,
|
|
"prom_ql": "zk_ruok == 0",
|
|
"prom_eval_interval": 15,
|
|
"enable_stime": "00:00",
|
|
"enable_etime": "23:59",
|
|
"enable_days_of_week": [
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"0"
|
|
],
|
|
"enable_in_bg": 0,
|
|
"notify_recovered": 1,
|
|
"notify_channels": [],
|
|
"notify_users_obj": [],
|
|
"notify_repeat_step": 60,
|
|
"recover_duration": 0,
|
|
"callbacks": [],
|
|
"runbook_url": "",
|
|
"append_tags": []
|
|
},
|
|
{
|
|
"name": "【Zookeeper】Zookeeper Down",
|
|
"note": "",
|
|
"prod": "",
|
|
"algorithm": "",
|
|
"algo_params": null,
|
|
"delay": 0,
|
|
"severity": 1,
|
|
"disabled": 0,
|
|
"prom_for_duration": 0,
|
|
"prom_ql": "zk_up == 0",
|
|
"prom_eval_interval": 15,
|
|
"enable_stime": "00:00",
|
|
"enable_etime": "23:59",
|
|
"enable_days_of_week": [
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"0"
|
|
],
|
|
"enable_in_bg": 0,
|
|
"notify_recovered": 1,
|
|
"notify_channels": [],
|
|
"notify_users_obj": [],
|
|
"notify_repeat_step": 60,
|
|
"recover_duration": 0,
|
|
"callbacks": [],
|
|
"runbook_url": "",
|
|
"append_tags": []
|
|
},
|
|
{
|
|
"name": "【Zookeeper】Zookeeper 集群不存在 Leader",
|
|
"note": "",
|
|
"prod": "",
|
|
"algorithm": "",
|
|
"algo_params": null,
|
|
"delay": 0,
|
|
"severity": 1,
|
|
"disabled": 0,
|
|
"prom_for_duration": 0,
|
|
"prom_ql": "sum(zk_server_leader) by (zk_cluster) == 0 and count(zk_up) by (zk_cluster) >= 3",
|
|
"prom_eval_interval": 15,
|
|
"enable_stime": "00:00",
|
|
"enable_etime": "23:59",
|
|
"enable_days_of_week": [
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"0"
|
|
],
|
|
"enable_in_bg": 0,
|
|
"notify_recovered": 1,
|
|
"notify_channels": [],
|
|
"notify_users_obj": [],
|
|
"notify_repeat_step": 60,
|
|
"recover_duration": 0,
|
|
"callbacks": [],
|
|
"runbook_url": "",
|
|
"append_tags": []
|
|
},
|
|
{
|
|
"name": "【Zookeeper】Zookeeper 集群存在多个 Leader",
|
|
"note": "",
|
|
"prod": "",
|
|
"algorithm": "",
|
|
"algo_params": null,
|
|
"delay": 0,
|
|
"severity": 1,
|
|
"disabled": 0,
|
|
"prom_for_duration": 0,
|
|
"prom_ql": "sum(zk_server_leader) by (zk_cluster) > 1",
|
|
"prom_eval_interval": 15,
|
|
"enable_stime": "00:00",
|
|
"enable_etime": "23:59",
|
|
"enable_days_of_week": [
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"0"
|
|
],
|
|
"enable_in_bg": 0,
|
|
"notify_recovered": 1,
|
|
"notify_channels": [],
|
|
"notify_users_obj": [],
|
|
"notify_repeat_step": 60,
|
|
"recover_duration": 0,
|
|
"callbacks": [],
|
|
"runbook_url": "",
|
|
"append_tags": []
|
|
}
|
|
] |