aboutsummaryrefslogtreecommitdiff
path: root/monitor.cfg.example
blob: 226a88e5293d0193270b941cc50f3e9153ef6fd0 (plain) (blame)
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
# Monitor config
# target=type,name,target

# listen port
port=8888

# monitor interval in seconds (sleep)
interval=5

# monitor events log path
log=events.log

# targets to monitor
target=reach,ipv4,2.59.235.35
target=dns,dns,arf20.com
target=web,http,http://arf20.com
target=web,https,https://arf20.com

# email From
from=status@arf20.com

# what to alert
# alert=api,<url>,<content-type>,<body template>
alert=api,https://arf20.com/%s,application/json,{"content":"%s is %s"}
# alert=email,<address>,<subject template>,<body template>
alert=email,arf20@arf20.com,%s is %s,%s is %s