Documentation

Get started with DeadPing

DeadPing uses the dead man's switch pattern. Your job pings a unique URL after every successful run. If the ping doesn't arrive on time, you get alerted.

Quick Setup

  1. Create a monitor in the dashboard or via the API
  2. Copy the ping URL (looks like https://deadping.io/api/ping/YOUR_TOKEN)
  3. Add one curl to the end of your script
bash
#!/bin/bash
set -euo pipefail

# Your actual job
OUTPUT=$(pg_dump "$DATABASE_URL" | gzip > /backups/db.sql.gz 2>&1)
EXIT_CODE=$?

# Ping DeadPing with output capture + exit code
curl -fsS --retry 3 -X POST \
  "https://deadping.io/api/ping/YOUR_TOKEN?exit_code=$EXIT_CODE&duration_ms=45000" \
  -H "Content-Type: text/plain" \
  -d "$OUTPUT"

The ping endpoint accepts GET, POST, and HEAD requests. No authentication required. The token in the URL is the identifier. Use POST with a body to capture stdout/stderr output.

Integrations

Alert channels configured in your dashboard settings.

Guides

API reference, features, and advanced configuration.

Platform Examples

Copy-paste ping snippets for common infrastructure tools.

From the blog