diff options
| author | arf20 <aruizfernandez05@gmail.com> | 2025-10-28 13:45:38 +0100 |
|---|---|---|
| committer | arf20 <aruizfernandez05@gmail.com> | 2025-10-28 13:45:38 +0100 |
| commit | 1fa9b6e34e5c92aa7fe492417cda2d21ec067ff8 (patch) | |
| tree | 3d8f8c28cbc0d5d8632c72449a4a45bdab278425 /monitor.cfg | |
| parent | 52dc621b426fcb55ef3887e67de08a612b15480d (diff) | |
| download | arfnet2-status-master.tar.gz arfnet2-status-master.zip | |
Diffstat (limited to 'monitor.cfg')
| -rw-r--r-- | monitor.cfg | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/monitor.cfg b/monitor.cfg index cc85d17..03ca7b1 100644 --- a/monitor.cfg +++ b/monitor.cfg @@ -1,7 +1,25 @@ # Monitor config -# type,name,target -reach,ipv4,2.59.235.35 -dns,dns,arf20.com -web,http,http://arf20.com -web,https,https://arf20.com +# 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,https://arf20.com/%s +alert=email,arf20@arf20.com |
