I Stopped Paying $49/Month for Uptime Monitoring — A GitHub Actions Cron Job Watches 12 Sites for $0
Описание и применение
Автор заменил платный сервис мониторинга на бесплатный GitHub Actions cron‑job, проверяющий 12 сайтов каждые 5 минут, создавая issue при падении. За 8 месяцев сервис не пропустил реальных сбоев, стоимость – $0, использовано 520 минут из 2000 бесплатных.
Задача
Need inexpensive, reliable uptime monitoring for 12 sites with 5‑minute checks and email alerts.
Результат
Zero cost uptime monitoring for 12 sites, 5‑minute granularity, no missed outages, ~3 false positives/month, 520 minutes/month used out of 2000 free minutes.
Рабочий процесс
- Create .github/workflows/uptime.yml with schedule cron every 5 minutes
- Define matrix of 12 site URLs
- Run curl to get HTTP status code with timeout
- If status not 200, use actions/github-script to create issue titled "DOWN:
<site>" with body containing HTTP code and timestamp - Receive issue notifications via email and GitHub app
- Manually close issue to log recovery
Доказательства
8‑month cost $392 for SaaS vs $0 for GHA
Failure opens a GitHub issue → issue notifications hit my email and phone via the GitHub app
- Дата записи: 2026-09-19T21:15:27.381Z