happy status
Org-wide one-line summary of monitors and incidents.
happy status
bashhappy status
Output:
textHappy Uptime — Acme Corp─────────────────────────────────────────Monitors: 24 (23 up, 0 degraded, 1 down, 0 paused)Incidents: 1 active, 0 needs ackUptime 30d: 99.94%DOWN: ⛔ api.acme.com — 7m ago — 503 Service Unavailable
Add --json for machine output:
bashhappy status --json | jq '.monitors.down'
Useful in shell prompts:
bash# .zshrc fragmentfunction precmd() { HU=$(happy status --json 2>/dev/null | jq -r '.monitors.down // 0') if [[ "$HU" -gt 0 ]]; then PROMPT="🔴 $HU $PROMPT" fi}