uptime-kuma-sync
Installation
SKILL.md
Uptime Kuma Sync Skill
Atomic operation to discover all Caddy-fronted service routes and ensure each has a corresponding HTTP monitor in Uptime Kuma.
Prerequisites
- Caddyfile accessible on the host filesystem (default:
/home/apps/caddy/Caddyfile). - Uptime Kuma SQLite database accessible on the host filesystem (default:
/home/apps/uptime-kuma/data/kuma.db). - Python 3.10+ with
sqlite3(stdlib) andre(stdlib) — no external dependencies.
Configuration
| Variable | Default | Description |
|---|---|---|
CADDYFILE_PATH |
/home/apps/caddy/Caddyfile |
Absolute path to the Caddy server block configuration |
KUMA_DB_PATH |
/home/apps/uptime-kuma/data/kuma.db |
Absolute path to the Uptime Kuma SQLite database |
Override these by passing --caddyfile and --db CLI arguments to the script.