Docs / Guides
Incidents and maintenance
An incident tells visitors something is wrong and what you're doing about it. Maintenance tells them about planned work ahead of time. Both live under Incidents, show on the status page with a timeline of updates, and go to subscribers.
# Declare an incident
Incidents → New incident:
- Title: what visitors see first, e.g. "Checkout errors".
- Status: Investigating, Identified or Monitoring.
- Impact: None, Minor, Major or Critical.
- Message: Markdown (
**bold**,*italic*, links, lists). - Affected components: for each one, Not affected, Affected (no status change), or the status to show while the incident is open: Operational, Degraded performance, Partial outage or Major outage.
- Publish now: on by default. Off saves a draft that only editors can see.
- Notify subscribers: email and browser notifications go out when it's published.
Save incident. While a published incident is open, the statuses you chose override what the monitors say; the worst status set by any open incident wins. A manual status set on the component still wins over an incident. Once the incident is resolved, the component goes back to its monitors.
A draft shows under Drafts to review. Open it, check the message, and Publish, with or without Notify subscribers. Delete draft throws it away.
The main page shows every incident. Other pages show it when it affects one of their components, and their subscribers are notified the same way.
# Updates
On the incident's page, Post an update:
- New status: Investigating, Identified, Monitoring or Resolved.
- Severity: change the impact, e.g. from Minor to Major as it spreads.
- Message.
- Component status: change what each component shows, as when declaring.
- Notify subscribers: on by default. Turn it off for small corrections.
The Timeline lists every update, newest first. Updates posted without notifying are marked Not notified.
To fix a typo or add a detail, click the pencil next to an update. The public page marks it Edited, and subscribers aren't notified again.
# Resolve
Post an update with the status Resolved. The incident moves to history and its component statuses stop applying.
If the problem comes back, open the incident and use Happening again? to reopen it: it goes back to Investigating with your message as a new update, and subscribers hear about it unless you turn Notify subscribers off. Set component statuses again with your next update. (Automatic incidents can also reopen themselves; see below.)
# Postmortems
A resolved, published incident gets a Postmortem box: what happened, why, and what
changes. Write it in Markdown and Save draft until it's ready. Publish shows it on
the incident's public page (/incidents/{id}) and in the Statuspage API. Unpublish takes
it down again; Save changes edits a published one.
# Hold before send
Notifications to subscribers wait a short while after you post, so a mistake can be taken back. While they wait, the incident's page shows Notifying N subscribers soon with Undo. Undo cancels those notifications; the update itself stays posted, so edit it or post a correction.
Set the wait under Subscribers → Settings → Wait before sending, per page: 0 to 120 seconds, 30 by default. Subscribers and how they're reached are covered in notifications.md.
# Automatic incidents from monitors
A component's When monitors detect an outage setting (on its page under Components) decides what happens when its monitors report a partial or major outage:
- Draft an incident for review (the default): a draft appears under Drafts to review, ready to publish.
- Publish an incident: it's published and subscribers are notified, after the hold.
- Do nothing.
An automatic incident is titled "Website outage" (major outage, impact Major) or "Website partially unavailable" (partial outage, impact Minor), with the status Investigating and a short message. In more detail:
- A component that goes into an outage within 10 minutes of another automatic incident opening is added to that incident instead of getting its own.
- Nothing opens while the component is under maintenance or has a manual status.
- Once every affected component has been operational for 2 minutes, the incident resolves itself with an update saying so. A draft nobody published is deleted instead.
- If a component fails again within 30 minutes of its automatic incident resolving, that incident reopens, back to Investigating.
- Once a person posts an update or changes the severity, monitoring leaves the incident to you: it no longer resolves or reopens it.
The incident shows Opened by monitoring in the dashboard.
# Scheduled maintenance
Incidents → Schedule maintenance:
- Title, Starts, Ends and Timezone (the times are in this timezone; yasp stores them as UTC).
- Message (optional) and Components under maintenance.
- Start automatically: at the start time the page shows it as in progress.
- Complete automatically: at the end time it's marked completed.
- Notify subscribers now: announce it as soon as it's scheduled.
All three switches are on by default. Automatic starts and completions post a short update ("Scheduled maintenance is in progress.", "Scheduled maintenance has been completed.") and notify subscribers. While it's in progress, its components show Under maintenance, unless an incident or manual status says otherwise, and monitors don't open automatic incidents for them.
You can also post updates by hand: In progress, Verifying, Completed or Cancelled. Upcoming
and recent maintenance is in /maintenance.ics for calendars (see
status-pages.md).
# Recurring maintenance
For windows that repeat, like a weekly patch night: Incidents → Recurring → Add recurring maintenance.
- Repeats: Every day, Weekly on the days you tick, or Monthly On day 1 to 31. In shorter months, a day past the end means the last day.
- Starts at, Lasts (15 minutes to 1 day) and Timezone. The form previews the Next windows.
- Message and Components under maintenance.
- Announce each window: 1 day, 3 days, 1 week, 2 weeks or 30 days ahead.
- Notify subscribers when a window is announced.
- Active: paused schedules announce no new windows; ones already announced stay.
Each window is created as ordinary scheduled maintenance once it's within the announcement lead time, and starts and completes on its own. To skip one window, post a Cancelled update on it.
# Templates
Incidents → Templates holds the messages you post again and again: a database failover, a payment provider outage, the monthly upgrade. An Incident template fills in the title, status, impact, message and the components it marks as affected. A Maintenance template fills in the title, message and components. Pick one under Start from a template when declaring an incident or scheduling maintenance, then edit before posting if the details differ.
# When sign-in is down
If your identity provider is down, you can still post through the REST API with an API token (API in the dashboard; editor role or above). Create one in advance and keep it somewhere you can reach during an outage.
curl -fsS -X POST https://status.example.com/api/v1/incidents \
-H "Authorization: Bearer yasp_api_…" -H "Content-Type: application/json" \
-d '{"title": "Sign-in problems", "body": "We are investigating.", "impact": "major"}'
It's published and notifies subscribers unless you send "publish": false or
"notify": false. Post updates to /api/v1/incidents/{id}/updates with status and
body. See api.md.
With email sign-in enabled ([email_login] enabled = true), yasp admin invite --email you@example.com --role editor on the server prints a one-time sign-in link that needs no
identity provider. See operations.md.