File size: 2,657 Bytes
17e971c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | [
{
"id": "70",
"ver": "1",
"used": false,
"source": "domain_endtime",
"title": "域名到期",
"load_cls": {
"load_type": "path",
"cls_path": "mod.base.push_mod.ssl_push",
"name": "DomainEndTimeTask"
},
"template": {
"field": [
{
"attr": "project",
"name": "域名",
"type": "select",
"default": "all",
"items": [
{
"title": "所有域名",
"value": "all"
}
]
},
{
"attr": "cycle",
"name": "剩余天数",
"type": "number",
"suffix": "",
"unit": "天",
"default": 30
}
],
"sorted": [
[
"project"
],
[
"cycle"
]
]
},
"default": {
"project": "all",
"cycle": 30
},
"advanced_default": {
"number_rule": {
"total": 2
}
},
"send_type_list": [
"wx_account",
"dingding",
"feishu",
"mail",
"weixin",
"webhook"
],
"unique": false,
"tags": ["ssl"],
"description": "定时检查域名的到期时间(根据配置的域名有效期),如果剩余天数小于配置的阈值,则发送告警通知给管理员"
},
{
"id": "71",
"ver": "1",
"used": true,
"source": "cert_endtime",
"title": "证书到期",
"load_cls": {
"load_type": "path",
"cls_path": "mod.base.push_mod.ssl_push",
"name": "CertEndTimeTask"
},
"template": {
"field": [
{
"attr": "project",
"name": "证书",
"type": "select",
"default": "all",
"items": [
{
"title": "所有证书",
"value": "all"
}
]
},
{
"attr": "cycle",
"name": "剩余天数",
"type": "number",
"suffix": "",
"unit": "天",
"default": 30
}
],
"sorted": [
[
"project"
],
[
"cycle"
]
]
},
"default": {
"project": "all",
"cycle": 30
},
"advanced_default": {
"number_rule": {
"total": 2
}
},
"send_type_list": [
"wx_account",
"dingding",
"feishu",
"mail",
"weixin",
"webhook"
],
"unique": false,
"tags": ["ssl"],
"description": "定时检查证书的到期时间,如果剩余天数小于配置的阈值,则发送告警通知给管理员"
}
]
|