From 36b52bd0f856f1b6cfcf8ac1a7459f06939dfafa Mon Sep 17 00:00:00 2001 From: arf20 Date: Mon, 10 Nov 2025 18:12:50 +0100 Subject: email alerts working --- monitor.cfg.example | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'monitor.cfg.example') diff --git a/monitor.cfg.example b/monitor.cfg.example index 226a88e..821f108 100644 --- a/monitor.cfg.example +++ b/monitor.cfg.example @@ -15,13 +15,18 @@ target=reach,ipv4,2.59.235.35 target=dns,dns,arf20.com target=web,http,http://arf20.com target=web,https,https://arf20.com +target=web,test,http://localhost:8989 # email From -from=status@arf20.com +mailfrom=ARFNET Status Monitor +mailserver=smtps://mail.example.com:465 +mailuser=username +mailpassword=password # what to alert # alert=api,,, -alert=api,https://arf20.com/%s,application/json,{"content":"%s is %s"} +alert=api,https://discord.com/api/webhooks/example,application/json,{"content":"%s is %s"} +alert=api,https://api.telegram.org/botexample/sendMessage,application/json,{"chat_id": "exampleroom", "text": "%s is %s", "disable_notification": false} # alert=email,
,, -alert=email,arf20@arf20.com,%s is %s,%s is %s +alert=email,it@example.com,%s is %s,%s is %s -- cgit v1.2.3