aboutsummaryrefslogtreecommitdiff
path: root/monitor.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.cfg')
-rw-r--r--monitor.cfg28
1 files changed, 23 insertions, 5 deletions
diff --git a/monitor.cfg b/monitor.cfg
index cc85d17..03ca7b1 100644
--- a/monitor.cfg
+++ b/monitor.cfg
@@ -1,7 +1,25 @@
# Monitor config
-# type,name,target
-reach,ipv4,2.59.235.35
-dns,dns,arf20.com
-web,http,http://arf20.com
-web,https,https://arf20.com
+# 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,https://arf20.com/%s
+alert=email,arf20@arf20.com