Skip to main content

Database-Error-Monitoring

Setup Website Monitoring Properly So You Know if Your Database Connection Goes Down

I monitor my websites with UptimeRobot on the free plan. It’s good, the timer checks every five minutes and for most hobby projects, it’s more than enough. The monitor URLs were set up as for example, https://prasna.ca. A few days ago, I realized there was ‘database connection’ error but since I use redis and CloudFlare, simple curl commands give status 200 and we never found out AND UptimeRobot was happy as well so we didn’t know the site was down.