-
Notifications
You must be signed in to change notification settings - Fork 0
/
avmon.cfg.toml
executable file
·33 lines (26 loc) · 765 Bytes
/
avmon.cfg.toml
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
# Example config file
# Default poll interval for endpoint
interval = 60
[[endpoint]]
url = "https://google.com/"
description = "Google"
[[endpoint]]
interval = 45 # Overwrite interval
url = "https://worldtimeapi.org/api/ip.txt"
description = "Current time for client IP"
# Match time with even number of minutes
regex = "datetime: \\d+-\\d+-\\d+T\\d+:\\d+"
[[endpoint]]
interval = 2
url = "https://httpbin.org/status/200,500"
description = "Randomly failing endpoint"
[[endpoint]]
url = "https://httpbin.org/status/400"
description = "Always failing endpoint"
[[endpoint]]
timeout = 1.0
url = "https://httpbin.org/delay/10"
description = "Endpoint with a 10 second delay timeouts"
[[endpoint]]
url = "https://NXDOMAIN"
description = "No such domain exists"