-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
50 lines (50 loc) · 1.04 KB
/
config.yaml
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
probes:
- name: www.amazon.cn
httpGet:
path: /
host: www.amazon.cn
scheme: https
providers:
- type: sms
key: ""
secret: ""
template: "SMS_123456789"
sign_name: ""
provider: aliyun
phones:
- 13000000000
- type: smtp
host: mail.163.com
port: 465
username: [email protected]
password:
receivers:
html: |
<html>
<head>
<style>
ul li {
color:#000;
list-style:none;
margin-bottom:1rem
}
.title {
font-size:1.5rem;
font-weight:900;
color:red
}
a {
text-decoration: none;
}
</style>
</head>
<body>
<h3 class="title">
服务存活检测异常,请及时处理:</p>
<ul>
<li>位置:<br><a href="{{.Content}}">{{.Content}}</a></li>
<li>错误信息:<br><a href="#">{{.Reason}}</a></li>
</ul>
</body>
</html>