-
Notifications
You must be signed in to change notification settings - Fork 196
/
sample_config.json
102 lines (102 loc) · 2.13 KB
/
sample_config.json
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
{
"database":{
"influxDb":{
"host":"localhost",
"port":8086,
"databaseName":"statusok",
"username":"",
"password":""
}
},
"notifications":{
"httpEndPoint":{
"url":"http://mywebsite.com",
"requestType":"POST",
"headers":{
"Authorization":"Bearer ac2168444f4de69c27d6384ea2ccf61a49669be5a2fb037ccc1f"
}
},
"mail":{
"smtpHost":"smtp.gmail.com",
"port":587,
"username":"statusok@gmail.com",
"password":"password",
"from":"statusok@gmail.com",
"to":"notify@gmail.com"
},
"slack":{
"channel":"#general",
"username":"statusok",
"channelWebhookURL":"https://hooks.slack.com/services/T09ZQZhET2E5Tl7"
},
"mailGun":{
"email":"statusok@gmail.com",
"apiKey":"key-a8215497fc0",
"domain":"statusok.com",
"publicApiKey":"pubkey-a225d8a8e7ee48"
},
"pagerduty":{
"url":"https://events.pagerduty.com/v2/enqueue",
"routingKey":"abcdefghijklmnopqrstuvwxyz123456",
"severity":"info"
},
"dingding":{
"url": "https://oapi.dingtalk.com/robot/send?access_token=1b153686301db8662",
"requestType":"POST",
"headers":{
"Content-Type":"application/json"
}
}
},
"requests":[
{
"url":"http://mywebsite.com/v1/data",
"requestType":"POST",
"headers":{
"Authorization":"Bearer ac2168444f4de69c27d6384ea2ccf61a49669be5a2fb037ccc1f",
"Content-Type":"application/json"
},
"formParams":{
"description":"sanath test",
"url":"http://google.com"
},
"checkEvery":30,
"responseCode":200,
"responseTime":800
},
{
"url":"http://mywebsite.com/v1/data",
"requestType":"GET",
"headers":{
"Authorization":"Bearer ac2168444f4de69c27d6384ea2ccf61a49669be5a2fb037ccc1f"
},
"urlParams":{
"name":"statusok"
},
"checkEvery":300,
"responseCode":200,
"responseTime":800
},
{
"url":"http://something.com/v1/data",
"requestType":"DELETE",
"formParams":{
"name":"statusok"
},
"checkEvery":300,
"responseCode":200,
"responseTime":800
},
{
"url":"https://google.com",
"requestType":"GET",
"headers":{
},
"params":{
},
"checkEvery":30,
"responseCode":200,
"responseTime":800
}
]
}