|
- [
- {
- "id": 0,
- "group_id": 0,
- "cate": "prometheus",
- "datasource_ids": [
- 0
- ],
- "cluster": "",
- "name": "Hard disk - expected to be written full in 4 hours - categraf",
- "note": "",
- "prod": "metric",
- "algorithm": "",
- "algo_params": null,
- "delay": 0,
- "severity": 1,
- "severities": [
- 1
- ],
- "disabled": 1,
- "prom_for_duration": 60,
- "prom_ql": "predict_linear(disk_free[1h], 4*3600) \u003c 0",
- "rule_config": {
- "algo_params": null,
- "inhibit": false,
- "prom_ql": "",
- "queries": [
- {
- "prom_ql": "predict_linear(disk_free[1h], 4*3600) \u003c 0",
- "severity": 1
- }
- ],
- "severity": 0
- },
- "prom_eval_interval": 15,
- "enable_stime": "",
- "enable_stimes": [
- "00:00"
- ],
- "enable_etime": "",
- "enable_etimes": [
- "23:59"
- ],
- "enable_days_of_week": null,
- "enable_days_of_weeks": [
- [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "0"
- ]
- ],
- "enable_in_bg": 0,
- "notify_recovered": 1,
- "notify_channels": [
- "email",
- "dingtalk",
- "wecom"
- ],
- "notify_groups_obj": null,
- "notify_groups": null,
- "notify_repeat_step": 60,
- "notify_max_number": 0,
- "recover_duration": 0,
- "callbacks": [],
- "runbook_url": "",
- "append_tags": [],
- "annotations": null,
- "extra_config": null,
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "uuid": 1717556327696047000
- },
- {
- "id": 0,
- "group_id": 0,
- "cate": "prometheus",
- "datasource_ids": [
- 0
- ],
- "cluster": "",
- "name": "Hard disk - IO is a bit busy - categraf",
- "note": "",
- "prod": "metric",
- "algorithm": "",
- "algo_params": null,
- "delay": 0,
- "severity": 2,
- "severities": [
- 2
- ],
- "disabled": 0,
- "prom_for_duration": 60,
- "prom_ql": "rate(diskio_io_time[1m])/10 \u003e 99",
- "rule_config": {
- "algo_params": null,
- "inhibit": false,
- "prom_ql": "",
- "queries": [
- {
- "prom_ql": "rate(diskio_io_time[1m])/10 \u003e 99",
- "severity": 2
- }
- ],
- "severity": 0
- },
- "prom_eval_interval": 15,
- "enable_stime": "",
- "enable_stimes": [
- "00:00"
- ],
- "enable_etime": "",
- "enable_etimes": [
- "23:59"
- ],
- "enable_days_of_week": null,
- "enable_days_of_weeks": [
- [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "0"
- ]
- ],
- "enable_in_bg": 0,
- "notify_recovered": 1,
- "notify_channels": [
- "email",
- "dingtalk",
- "wecom"
- ],
- "notify_groups_obj": null,
- "notify_groups": null,
- "notify_repeat_step": 60,
- "notify_max_number": 0,
- "recover_duration": 0,
- "callbacks": [],
- "runbook_url": "",
- "append_tags": [],
- "annotations": null,
- "extra_config": null,
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "uuid": 1717556327696483000
- },
- {
- "id": 0,
- "group_id": 0,
- "cate": "prometheus",
- "datasource_ids": [
- 0
- ],
- "cluster": "",
- "name": "Lost connection with monitoring target - categraf",
- "note": "",
- "prod": "host",
- "algorithm": "",
- "algo_params": null,
- "delay": 0,
- "severity": 0,
- "severities": [
- 0
- ],
- "disabled": 0,
- "prom_for_duration": 0,
- "prom_ql": "",
- "rule_config": {
- "inhibit": false,
- "queries": [
- {
- "key": "all_hosts",
- "op": "==",
- "values": []
- }
- ],
- "triggers": [
- {
- "duration": 60,
- "severity": 2,
- "type": "target_miss"
- }
- ]
- },
- "prom_eval_interval": 15,
- "enable_stime": "",
- "enable_stimes": [
- "00:00"
- ],
- "enable_etime": "",
- "enable_etimes": [
- "23:59"
- ],
- "enable_days_of_week": null,
- "enable_days_of_weeks": [
- [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "0"
- ]
- ],
- "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": null,
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "uuid": 1717556327697002000
- },
- {
- "id": 0,
- "group_id": 0,
- "cate": "prometheus",
- "datasource_ids": [
- 0
- ],
- "cluster": "",
- "name": "Machine load - high memory, please pay attention - categraf",
- "note": "",
- "prod": "metric",
- "algorithm": "",
- "algo_params": null,
- "delay": 0,
- "severity": 0,
- "severities": [
- 3,
- 2,
- 1
- ],
- "disabled": 0,
- "prom_for_duration": 60,
- "prom_ql": "",
- "rule_config": {
- "inhibit": true,
- "queries": [
- {
- "prom_ql": "mem_available_percent \u003c 25",
- "severity": 3
- },
- {
- "prom_ql": "mem_available_percent \u003c 15",
- "severity": 2
- },
- {
- "prom_ql": "mem_available_percent \u003c 5",
- "severity": 1
- }
- ]
- },
- "prom_eval_interval": 15,
- "enable_stime": "",
- "enable_stimes": [
- "00:00"
- ],
- "enable_etime": "",
- "enable_etimes": [
- "23:59"
- ],
- "enable_days_of_week": null,
- "enable_days_of_weeks": [
- [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "0"
- ]
- ],
- "enable_in_bg": 0,
- "notify_recovered": 1,
- "notify_channels": [
- "email",
- "dingtalk",
- "wecom"
- ],
- "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": null,
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "uuid": 1717556327697454000
- },
- {
- "id": 0,
- "group_id": 0,
- "cate": "prometheus",
- "datasource_ids": [
- 0
- ],
- "cluster": "",
- "name": "number of TME_WAIT exceeds 20,000 - categraf",
- "note": "",
- "prod": "metric",
- "algorithm": "",
- "algo_params": null,
- "delay": 0,
- "severity": 2,
- "severities": [
- 2
- ],
- "disabled": 0,
- "prom_for_duration": 60,
- "prom_ql": "netstat_tcp_time_wait \u003e 20000",
- "rule_config": {
- "algo_params": null,
- "inhibit": false,
- "prom_ql": "",
- "queries": [
- {
- "prom_ql": "netstat_tcp_time_wait \u003e 20000",
- "severity": 2
- }
- ],
- "severity": 0
- },
- "prom_eval_interval": 15,
- "enable_stime": "",
- "enable_stimes": [
- "00:00"
- ],
- "enable_etime": "",
- "enable_etimes": [
- "23:59"
- ],
- "enable_days_of_week": null,
- "enable_days_of_weeks": [
- [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "0"
- ]
- ],
- "enable_in_bg": 0,
- "notify_recovered": 1,
- "notify_channels": [
- "email",
- "dingtalk",
- "wecom"
- ],
- "notify_groups_obj": null,
- "notify_groups": null,
- "notify_repeat_step": 60,
- "notify_max_number": 0,
- "recover_duration": 0,
- "callbacks": [],
- "runbook_url": "",
- "append_tags": [],
- "annotations": null,
- "extra_config": null,
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "uuid": 1717556327697935000
- },
- {
- "id": 0,
- "group_id": 0,
- "cate": "prometheus",
- "datasource_ids": [
- 0
- ],
- "cluster": "",
- "name": "packet loss in the inbound direction - categraf",
- "note": "",
- "prod": "metric",
- "algorithm": "",
- "algo_params": null,
- "delay": 0,
- "severity": 3,
- "severities": [
- 3
- ],
- "disabled": 0,
- "prom_for_duration": 60,
- "prom_ql": "increase(net_drop_in[1m]) \u003e 0",
- "rule_config": {
- "algo_params": null,
- "inhibit": false,
- "prom_ql": "",
- "queries": [
- {
- "prom_ql": "increase(net_drop_in[1m]) \u003e 0",
- "severity": 3
- }
- ],
- "severity": 0
- },
- "prom_eval_interval": 15,
- "enable_stime": "",
- "enable_stimes": [
- "00:00"
- ],
- "enable_etime": "",
- "enable_etimes": [
- "23:59"
- ],
- "enable_days_of_week": null,
- "enable_days_of_weeks": [
- [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "0"
- ]
- ],
- "enable_in_bg": 0,
- "notify_recovered": 1,
- "notify_channels": [
- "email",
- "dingtalk",
- "wecom"
- ],
- "notify_groups_obj": null,
- "notify_groups": null,
- "notify_repeat_step": 60,
- "notify_max_number": 0,
- "recover_duration": 0,
- "callbacks": [],
- "runbook_url": "",
- "append_tags": [],
- "annotations": null,
- "extra_config": null,
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "uuid": 1717556327698403000
- },
- {
- "id": 0,
- "group_id": 0,
- "cate": "prometheus",
- "datasource_ids": [
- 0
- ],
- "cluster": "",
- "name": "packet loss in the outbound direction - categraf",
- "note": "",
- "prod": "metric",
- "algorithm": "",
- "algo_params": null,
- "delay": 0,
- "severity": 3,
- "severities": [
- 3
- ],
- "disabled": 0,
- "prom_for_duration": 60,
- "prom_ql": "increase(net_drop_out[1m]) \u003e 0",
- "rule_config": {
- "algo_params": null,
- "inhibit": false,
- "prom_ql": "",
- "queries": [
- {
- "prom_ql": "increase(net_drop_out[1m]) \u003e 0",
- "severity": 3
- }
- ],
- "severity": 0
- },
- "prom_eval_interval": 15,
- "enable_stime": "",
- "enable_stimes": [
- "00:00"
- ],
- "enable_etime": "",
- "enable_etimes": [
- "23:59"
- ],
- "enable_days_of_week": null,
- "enable_days_of_weeks": [
- [
- "1",
- "2",
- "3",
- "4",
- "5",
- "6",
- "0"
- ]
- ],
- "enable_in_bg": 0,
- "notify_recovered": 1,
- "notify_channels": [
- "email",
- "dingtalk",
- "wecom"
- ],
- "notify_groups_obj": null,
- "notify_groups": null,
- "notify_repeat_step": 60,
- "notify_max_number": 0,
- "recover_duration": 0,
- "callbacks": [],
- "runbook_url": "",
- "append_tags": [],
- "annotations": null,
- "extra_config": null,
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "uuid": 1717556327698824000
- },
- {
- "id": 0,
- "group_id": 0,
- "cate": "prometheus",
- "datasource_ids": [
- 0
- ],
- "cluster": "",
- "name": "A disk larger than 200G is running out of space",
- "note": "",
- "prod": "metric",
- "algorithm": "",
- "algo_params": null,
- "delay": 0,
- "severity": 0,
- "severities": [
- 3,
- 2,
- 1
- ],
- "disabled": 0,
- "prom_for_duration": 60,
- "prom_ql": "",
- "rule_config": {
- "inhibit": true,
- "queries": [
- {
- "prom_ql": "disk_free/1024/1024/1024 \u003c 20 and disk_total/1024/1024/1024 \u003e= 200",
- "severity": 3
- },
- {
- "prom_ql": "disk_free/1024/1024/1024 \u003c 10 and disk_total/1024/1024/1024 \u003e= 200",
- "severity": 2
- },
- {
- "prom_ql": "disk_free/1024/1024/1024 \u003c 2 and disk_total/1024/1024/1024 \u003e= 200",
- "severity": 1
- }
- ]
- },
- "prom_eval_interval": 30,
- "enable_stime": "",
- "enable_stimes": [
- "00:00"
- ],
- "enable_etime": "",
- "enable_etimes": [
- "23:59"
- ],
- "enable_days_of_week": null,
- "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": null,
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "uuid": 1717556327699274000
- },
- {
- "id": 0,
- "group_id": 0,
- "cate": "prometheus",
- "datasource_ids": [
- 0
- ],
- "cluster": "",
- "name": "A disk smaller than 200G is running out of space",
- "note": "",
- "prod": "metric",
- "algorithm": "",
- "algo_params": null,
- "delay": 0,
- "severity": 0,
- "severities": [
- 3,
- 2,
- 1
- ],
- "disabled": 0,
- "prom_for_duration": 60,
- "prom_ql": "",
- "rule_config": {
- "inhibit": true,
- "queries": [
- {
- "prom_ql": "disk_used_percent \u003e 90 and disk_total/1024/1024/1024 \u003c 200",
- "severity": 3
- },
- {
- "prom_ql": "disk_used_percent \u003e 95 and disk_total/1024/1024/1024 \u003c 200",
- "severity": 2
- },
- {
- "prom_ql": "disk_used_percent \u003e 99 and disk_total/1024/1024/1024 \u003c 200",
- "severity": 1
- }
- ]
- },
- "prom_eval_interval": 30,
- "enable_stime": "",
- "enable_stimes": [
- "00:00"
- ],
- "enable_etime": "",
- "enable_etimes": [
- "23:59"
- ],
- "enable_days_of_week": null,
- "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": null,
- "create_at": 0,
- "create_by": "",
- "update_at": 0,
- "update_by": "",
- "uuid": 1717556327699689000
- }
- ]
|