How to Self-Host Healthchecks v4.4 to Catch Silent Cron Job Failures

Healthchecks is an open-source monitoring tool that uses a 'dead man's switch' approach, alerting users when a scheduled job fails to check in rather than actively polling for service availability. Unlike traditional uptime monitors, each tracked job sends an HTTP ping to a unique URL after a successful run, and an alert is triggered if that ping does not arrive within a defined time window. A self-hosted instance running version 4.4 can be deployed via Docker Compose behind a Traefik reverse proxy, using SQLite as a lightweight database suitable for personal or small-scale use. The setup requires creating a superuser account manually via the Django management command, as environment-variable-based account creation does not function as some guides suggest. Common configuration pitfalls include specifying a writable path for the SQLite database file and restricting the site name to ASCII characters to avoid runtime errors.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in