1
1
Fork
You've already forked monitor-sites
0
Monitor website availability, with optional desktop notifications.
Rust 100%
2024年01月07日 15:36:55 -05:00
src Make desktop notifications optional 2023年08月22日 11:00:31 -04:00
.gitignore Add logging; log successful checks 2023年08月06日 14:50:16 -04:00
Cargo.lock Add logging; log successful checks 2023年08月06日 14:50:16 -04:00
Cargo.toml Add logging; log successful checks 2023年08月06日 14:50:16 -04:00
README.md Add donate button/text 2024年01月07日 15:36:55 -05:00

monitor-sites

Monitor website availability, logging success or failure to a file. Desktop notifications for failures can optionally be set.

Create a .env file with a comma-separated list of websites:

SITES="https://example.com,https://kdwarn.net"

To enable desktop notifications, add a second line:

DESKTOP_NOTIFICATIONS=TRUE

Run with cron regularly, though discard standard output so cron doesn't attempt to send emails when checks are successful. This will run it every 10 minutes (where monitor-sites is the executable):

*/10 * * * * cd /path/to/install && /path/to/install/monitor-sites > /dev/null

The log file is "monitor-sites.log" and will be placed in the installation directory.

Sponsor

Donate using Liberapay

If you find this project useful and have the means, I'd be most appreciative of whatever sort of donation you might be able to make!