Monitor HTTP endpoints and alert when services go down.
VariableRequiredDefaultDescriptionMONITOR_URLSYes—Comma-separated list of URLs to monitorALERT_WEBHOOK_URLNo—Webhook URL to send alerts (Discord, Slack, etc.)CHECK_INTERVALNo60Interval in seconds between checksALERT_EMAILNo—Email address for alert notifications
Performs HTTP check with response time measurement.
bash
./scripts/check.sh <url>
Output:
text
OK|https://example.com|200|245ms
FAIL|https://example.com|000|timeout
Exit code: 0 = up, 1 = down
Sends alert via webhook or email when a service is down.
bash
./scripts/alert.sh <url> <status_code> <response_time> <error_message>
Generates a daily uptime summary from the log file.
bash
./scripts/report.sh
Output: Markdown-formatted report with uptime % per URL.
bash
export MONITOR_URLS="https://example.com,https://api.example.com"
export ALERT_WEBHOOK_URL="https://discord.com/api/webhooks/..."
export CHECK_INTERVAL=60
# Run a single check
./scripts/check.sh https://example.com
# Generate report
./scripts/report.sh
curl with a 10-second timeout for checks~/.openclaw/workspace/skills/uptime-monitor/logs/status.log