---
title: Deploy Healthchecks with AI on Blossom
url: "/deploy/healthchecks/"
canonical_url: https://blossom88.com/deploy/healthchecks/
markdown_url: https://blossom88.com/deploy/healthchecks.md
summary: Deploy Healthchecks with AI on Blossom. Monitor scheduled jobs and see when
  a heartbeat is late or missing.
categories:
- deployment
- monitoring
stack:
- Python
- Django
- PostgreSQL
---

# Deploy Healthchecks with AI on Blossom

[Healthchecks](https://healthchecks.io/) monitors scheduled jobs such
as backups and reports. Your job sends a heartbeat after it runs. The
dashboard shows when a job is late or has missed its grace period.

![Healthchecks shows a sample backup check as down after it missed its grace period.](/deploy/assets/images/healthchecks/status.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Healthchecks on Blossom and help me monitor a scheduled backup.
>
> Follow this guide: https://blossom88.com/deploy/healthchecks/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## Monitor a Job

Create a check with the job's schedule and grace period. Send an HTTP
request to its ping URL after the job succeeds. For a quick test, let
one interval and its grace period pass, then send a new ping to bring
the check back up.

<details class="optional-reading" markdown="1">
<summary>Deployment setup and commands</summary>

The self-hosted Healthchecks release uses the
[BSD 3-Clause license](https://github.com/healthchecks/healthchecks/blob/master/LICENSE).

Run the [official Healthchecks image](https://healthchecks.io/docs/self_hosted_docker/)
on regular App Capacity. Connect managed PostgreSQL and map the linked
connection into the image's database settings. Use the generated HTTPS
origin for `SITE_ROOT`. The image runs the dashboard and its scheduled
check worker. Set `DEBUG=False` and `GUNICORN_DISABLE_LOGGING=1` to keep
private ping URLs out of the web server access log. Keep the dashboard under Blossom Account access when
your heartbeat clients can send an Environment Access Token.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom database_instance:create --data postgres.yml
    blossom environment_link:create --data postgres-link.yml
    blossom service:create --data service.yml
    blossom env_var:push --environment environment-100 --file .env.production
    blossom environment:deploy --id environment-100 --follow

</details>

## What You Get

- A private dashboard for scheduled jobs
- Check status and history from HTTP heartbeats
- Checks and ping history in managed PostgreSQL
