aboutsummaryrefslogtreecommitdiff
path: root/monitor.cfg
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2025-11-10 13:48:37 +0100
committerarf20 <aruizfernandez05@gmail.com>2025-11-10 13:48:37 +0100
commit47992fa660c9c82858120c4d16fba0501903ceb9 (patch)
treecf1564b51cfcd54ac5ed17e26bf98ce2e85a3c39 /monitor.cfg
parent2ad586295dcd5dcef3d29af32998d55bb5c09843 (diff)
downloadarfnet2-status-47992fa660c9c82858120c4d16fba0501903ceb9.tar.gz
arfnet2-status-47992fa660c9c82858120c4d16fba0501903ceb9.zip
REST POST API alert working
Diffstat (limited to 'monitor.cfg')
-rw-r--r--monitor.cfg27
1 files changed, 0 insertions, 27 deletions
diff --git a/monitor.cfg b/monitor.cfg
deleted file mode 100644
index 226a88e..0000000
--- a/monitor.cfg
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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
-