diff options
| author | arf20 <aruizfernandez05@gmail.com> | 2025-11-10 18:12:50 +0100 |
|---|---|---|
| committer | arf20 <aruizfernandez05@gmail.com> | 2025-11-10 18:12:50 +0100 |
| commit | 36b52bd0f856f1b6cfcf8ac1a7459f06939dfafa (patch) | |
| tree | 30c0a260f8eb6e6b6084114c9b78398cf9b601c8 /monitor.cfg.example | |
| parent | 47992fa660c9c82858120c4d16fba0501903ceb9 (diff) | |
| download | arfnet2-status-36b52bd0f856f1b6cfcf8ac1a7459f06939dfafa.tar.gz arfnet2-status-36b52bd0f856f1b6cfcf8ac1a7459f06939dfafa.zip | |
email alerts working
Diffstat (limited to 'monitor.cfg.example')
| -rw-r--r-- | monitor.cfg.example | 11 |
1 files changed, 8 insertions, 3 deletions
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 <status@arf20.com> +mailserver=smtps://mail.example.com:465 +mailuser=username +mailpassword=password # what to alert # alert=api,<url>,<content-type>,<body template> -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,<address>,<subject template>,<body template> -alert=email,arf20@arf20.com,%s is %s,%s is %s +alert=email,it@example.com,%s is %s,%s is %s |
