forked from flashcat/categraf
68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
[
|
|
{
|
|
"name": "Elasticsearch Down",
|
|
"note": "",
|
|
"prod": "",
|
|
"algorithm": "",
|
|
"algo_params": null,
|
|
"delay": 0,
|
|
"severity": 2,
|
|
"disabled": 0,
|
|
"prom_for_duration": 0,
|
|
"prom_ql": "elasticsearch_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_repeat_step": 60,
|
|
"notify_max_number": 0,
|
|
"recover_duration": 0,
|
|
"callbacks": [],
|
|
"runbook_url": "",
|
|
"append_tags": []
|
|
},
|
|
{
|
|
"name": "ElastricSearch Cluster Status Red",
|
|
"note": "",
|
|
"prod": "",
|
|
"algorithm": "",
|
|
"algo_params": null,
|
|
"delay": 0,
|
|
"severity": 2,
|
|
"disabled": 0,
|
|
"prom_for_duration": 60,
|
|
"prom_ql": "min(elasticsearch_cluster_health_status_code{}) by (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_repeat_step": 60,
|
|
"notify_max_number": 0,
|
|
"recover_duration": 0,
|
|
"callbacks": [],
|
|
"runbook_url": "",
|
|
"append_tags": []
|
|
}
|
|
] |