aboutsummaryrefslogtreecommitdiff
path: root/monitor.cfg
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2025-11-10 00:28:43 +0100
committerarf20 <aruizfernandez05@gmail.com>2025-11-10 00:28:43 +0100
commit2ad586295dcd5dcef3d29af32998d55bb5c09843 (patch)
tree8b4128ad080bfa063f36ffb2ccc28642a87f19fc /monitor.cfg
parentc766bf7134b8179401b7e05f00d5a3693e2b56f4 (diff)
downloadarfnet2-status-2ad586295dcd5dcef3d29af32998d55bb5c09843.tar.gz
arfnet2-status-2ad586295dcd5dcef3d29af32998d55bb5c09843.zip
WIP api alert
Diffstat (limited to 'monitor.cfg')
-rw-r--r--monitor.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/monitor.cfg b/monitor.cfg
index 03ca7b1..226a88e 100644
--- a/monitor.cfg
+++ b/monitor.cfg
@@ -20,6 +20,8 @@ target=web,https,https://arf20.com
from=status@arf20.com
# what to alert
-alert=api,https://arf20.com/%s
-alert=email,arf20@arf20.com
+# 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