-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json.dist
63 lines (63 loc) · 1.2 KB
/
config.json.dist
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
{
"testmode": false,
"transports": {
"slack": {
"api": "https://hooks.slack.com/services/XXX/YYY/ZZZ",
// are supported values: Raw, HTML, Markdown, Slack
"textMode": "slack",
"fileUploadUrl": "https://slack.com/api/files.upload",
"token":"xoxp-XXX"
},
"telegram": {
"api": "https://api.telegram.org",
"chatId": "",
"botId": "",
"token": "",
"silentNotify": true,
"textMode": "HTML"
}
},
"watchers": [
{
"name": "DiskFree",
"loop": 21600 //6 hours
"isActive": true
},
{
"name": "Uptime",
"loop": 86400 //24 hours
"isActive": true
},
{
"name": "Who",
"loop": 2,
"isActive": true
},
{
"name": "W",
"loop": 21600 //6 hours
"isActive": true
},
{
"name": "LoadAvgGraph",
"loop": 86400,
"isActive": true
},
{
"name": "Temp",
"loop": 21600,
"isActive": true
}
],
"redis": {
"host": "localhost",
"port": 6379,
"password": "",
"db": 0
},
"log": {
"level": "trace|debug|info|warning|error|fatal|panic",
"file": "log",
"is_prod": false,
}
}