To deploy Uptime Kuma, ensure Docker is installed and run:
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
After running this, access the web interface at `http://your-vps-ip:3001` to complete the setup, add your websites (monitors), and configure email alerts via SMTP. The underlying concept is active health checking, where the tool periodically sends HTTP requests to your endpoints and triggers alerts based on the response code and latency. For a script-based alternative, this cron job checks a site and sends an email alert on failure, though it requires a local mail server like Postfix to be configured:
*/5 * * * * curl -f -s -o /dev/null -w "%{http_code}" https://yoursite.com || echo "Site is down" | mail -s "Alert: Site Down" your@email.com
This is a public discussion. Create a free account to answer. Takes 20 seconds. No email gates.