Celery Pending 0 active tasks
Storage Pending S3 / Spaces checks
Gmail API Pending token validity
Runtime Pending Gunicorn + Nginx

Infrastructure

Alert thresholds

Metric Warning Critical
CPU Usage >70% >90%
RAM Usage >80% >95%
Disk Usage >80% >90%
Load Avg > CPU cores > 2x CPU cores
PostgreSQL Connections >80% max >95% max
Nginx Error Rate Increasing High
SSL Expiry <30 days <7 days
Gunicorn Workers Frequent restarts Crashing

Background jobs

Celery status

Worker, beat, and queue checks for async jobs.

Worker

Current running task list

Endpoint / Probe celery -A config inspect active inspect active Not connected

Beat

Periodic scheduler process

Endpoint / Probe systemctl is-active celery-beat systemd status Not connected

Active Tasks

Tasks running now

Endpoint / Probe celery -A config inspect active inspect active 0

Reserved Tasks

Tasks accepted by workers

Endpoint / Probe celery -A config inspect reserved inspect reserved 0

Scheduled Tasks

ETA/countdown tasks

Endpoint / Probe celery -A config inspect scheduled inspect scheduled 0

Object storage

Storage

S3-compatible storage and public delivery checks.

S3 / Spaces Bucket

Bucket exists and is reachable

Endpoint / Probe s3://$DO_SPACES_BUCKET bucket head Pending

Credentials

Access key and secret available

Endpoint / Probe $DO_SPACES_KEY / $DO_SPACES_SECRET access key Pending

Object Read/Write

Upload, read, and delete health object

Endpoint / Probe s3://$DO_SPACES_BUCKET/healthcheck.txt probe object Pending

CDN Endpoint

Public media delivery route

Endpoint / Probe https://$DO_SPACES_CDN_DOMAIN/healthcheck.txt HTTP check Pending

External APIs

External APIs

Third-party credentials and expiry-sensitive integrations.

Gmail API

Authenticated API call succeeds

Endpoint / Probe https://gmail.googleapis.com/gmail/v1/users/me/profile profile call Pending

Gmail Token

Token valid and refreshable

Endpoint / Probe $GMAIL_TOKEN_FILE expiry check Pending

Gmail Scopes

Required Gmail permissions granted

Endpoint / Probe https://www.googleapis.com/auth/gmail.send scope audit Pending

Refresh Task

refresh-gmail-token every 6 hours

Endpoint / Probe apps.core.tasks.refresh_gmail_token Celery beat Scheduled

Broker

Redis

Broker and result backend checks for Celery.

Redis Ping

Broker accepts commands

Endpoint / Probe redis://127.0.0.1:6379/0 PING Pending

Connected Clients

Current Redis client count

Endpoint / Probe redis://127.0.0.1:6379/0 INFO clients INFO clients Pending

Queue Depth

Waiting task count

Endpoint / Probe redis://127.0.0.1:6379/0 LLEN celery LLEN celery Pending

Persistence

Database

Local database now, PostgreSQL production readiness later.

SQLite

Local boilerplate database

Endpoint / Probe sqlite:///db.sqlite3 db.sqlite3 Available

PostgreSQL Target

Production database reachability

Endpoint / Probe postgresql://$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB connection probe Pending

Migrations

Default Django tables created

Endpoint / Probe python manage.py showmigrations manage.py migrate Ready

Processes

Runtime

Application process and edge server status checks.

Django App

Server-rendered dashboard responds

Endpoint / Probe http://127.0.0.1:8000/ HTTP 200 Online

Gunicorn Service

Production WSGI service

Endpoint / Probe systemctl is-active gunicorn systemd status Pending

Nginx Service

Reverse proxy and access logs

Endpoint / Probe systemctl is-active nginx systemd status Pending

Error Logs

Recent app and edge failures

Endpoint / Probe /var/log/nginx/error.log tail logs Pending

Domain

SSL

Certificate and public domain checks.

SSL Expiry

Days before certificate expiry

Endpoint / Probe $PUBLIC_DOMAIN:443 cert probe Pending

DNS Resolve

Domain resolves to server

Endpoint / Probe $PUBLIC_DOMAIN lookup Pending

HTTPS Redirect

HTTP routes to HTTPS

Endpoint / Probe http://$PUBLIC_DOMAIN -> https://$PUBLIC_DOMAIN HTTP check Pending

Media

Media Pipeline

Video conversion and thumbnail dependency checks.

FFmpeg

Required for HLS conversion

Endpoint / Probe ffmpeg -version binary check Pending

Temp Directory

Conversion workspace writable

Endpoint / Probe /tmp write probe Pending

HLS Conversion

Movie and episode conversion status

Endpoint / Probe apps.movies.tasks.convert_movie_to_hls task logs Pending

Thumbnail Generation

Episode image processing status

Endpoint / Probe apps.episodes.tasks.generate_episode_thumbnail task logs Pending