From 2ad586295dcd5dcef3d29af32998d55bb5c09843 Mon Sep 17 00:00:00 2001 From: arf20 Date: Mon, 10 Nov 2025 00:28:43 +0100 Subject: WIP api alert --- monitor.cfg.example | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 monitor.cfg.example (limited to 'monitor.cfg.example') diff --git a/monitor.cfg.example b/monitor.cfg.example new file mode 100644 index 0000000..226a88e --- /dev/null +++ b/monitor.cfg.example @@ -0,0 +1,27 @@ +# 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,,, +alert=api,https://arf20.com/%s,application/json,{"content":"%s is %s"} +# alert=email,
,, +alert=email,arf20@arf20.com,%s is %s,%s is %s + -- cgit v1.2.3