Status Pages (CLI)

Manage public or private status pages from the obs CLI. CRUD plus monitor attachment, removal, and reordering.

Manage public or private status pages.

obs status-page create --name "Public Status" --slug "public-status"
obs status-page list
obs status-page get <id>
obs status-page update <id> --description "Updated"
obs status-page add-monitor <sp-id> <resource-id> --type url-monitor --name "API" --order 1
obs status-page reorder <sp-id> <entry-id> --order 2
obs status-page remove-monitor <sp-id> <entry-id>
obs status-page delete <id> -y

Monitor attachments are managed with add-monitor / remove-monitor / reorder. Note add-monitor takes the resource id while remove-monitor and reorder take the entry id returned when the monitor was attached.

Status-page monitor attachments are not managed by obs apply; use these commands instead. See Config-as-code for what apply covers.

Was this page helpful?