Simple Web Monitor it's easy program for monitoring your domain.
When monitor detect risk:
- http status diffrent from 200
- response size lower than 512 bytes
Program will send you an email.
- Check help
./swm.sh --help
- Create
.env
file based on.env.dist
with credentials form mailer- important - don't use quotation marks
- Run script manuallny eg.
./swm.sh -d https://github.com/404 -r your@email.com
- When you get the email everything is fine
- Add script to your crontab
- usefull online cron schedule expressions tester - https://crontab.guru/
- curl
- numfmtm
- cut
- tr
- sed
- wc
- crontab