mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-08 07:41:10 +08:00
修改监控为证书监控支持文件导入和smtp监控
监控支持多渠道通知 将静态文件打包到二进制文件
This commit is contained in:
3
static/monitor_templates/template.csv
Normal file
3
static/monitor_templates/template.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
名称,监控目标,监控类型,通知类型(多个用英文逗号隔开),周期(单位:分钟),连续异常时通知间隔,启用状态(0禁用,1启用),提前提醒天数
|
||||
csv1,allinssl.com,https,"mail,workwx",1,10,1,30
|
||||
csv2,allinssl.com,smtp,mail,1,10,1,30
|
||||
|
22
static/monitor_templates/template.json
Normal file
22
static/monitor_templates/template.json
Normal file
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"name": "json1",
|
||||
"target": "allinssl.com",
|
||||
"monitor_type": "https",
|
||||
"report_types": "mail",
|
||||
"cycle": "1",
|
||||
"repeat_send_gap": "10",
|
||||
"active": "1",
|
||||
"advance_day": "30"
|
||||
},
|
||||
{
|
||||
"name": "json2",
|
||||
"target": "allinssl.com",
|
||||
"monitor_type": "smtp",
|
||||
"report_types": "mail",
|
||||
"cycle": "1",
|
||||
"repeat_send_gap": "10",
|
||||
"active": "1",
|
||||
"advance_day": "30"
|
||||
}
|
||||
]
|
||||
3
static/monitor_templates/template.txt
Normal file
3
static/monitor_templates/template.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
名称,监控目标,监控类型,通知类型(多个用英文逗号隔开),周期(单位:分钟),连续异常时通知间隔,启用状态(0禁用,1启用),提前提醒天数
|
||||
txt1,allinssl.com,https,mail,1,10,1,30
|
||||
txt2,allinssl.com,smtp,mail,1,10,1,30
|
||||
BIN
static/monitor_templates/template.xlsx
Normal file
BIN
static/monitor_templates/template.xlsx
Normal file
Binary file not shown.
Reference in New Issue
Block a user