---
agent:
  instructions: "Search Greenbar's public pages and docs by keyword. A result has every word you give. Results are returned in Markdown."
  endpoint: "https://usegreenbar.com/.well-known/search?q={query}"
  method: "GET"
---

# Scheduled maintenance

> Schedule a window that mutes alerts, keeps checks running, and shows on the status page.

## Schedule a window

Scheduled maintenance is a window for monitors you choose. Checks keep running, and an incident can still open. Alerts for those monitors are muted during the window. Uptime bars do not change. How alerts work describes which alerts are held until the window ends and which are skipped.

The form says Alerts for these monitors are muted during the window. Checks keep running. A monitor is in maintenance while any of its windows covers that moment. The window runs from Starts up to, but not including, Ends.

1. Open Incidents.
2. Under Scheduled maintenance, set Title, Starts and Ends.
3. Leave Repeat on Does not repeat, or choose Daily, Weekly or Monthly and set Until.
4. Tick the monitors under Affected monitors.
5. Add a Message for the status page if you want one.
6. Choose Schedule maintenance. The page says Maintenance scheduled.

![Scheduled maintenance with Title set to Database upgrade, Starts and Ends filled in, Repeat set to Does not repeat, Northwind website ticked, and Schedule maintenance.](https://usegreenbar.com/docs/screenshots/alerts-maintenance-light.png?v=8fc9ff56a297)

*Schedule a window from Incidents. The ticked monitors are the ones it covers.*

### Options

**Fields on Scheduled maintenance**

| Field | What it does |
| --- | --- |
| Title | Required in the form. Saved after trimming spaces. At most 200 characters. Shown on the status page. |
| Starts and Ends | Required. The window, in your time zone. Ends has to be after Starts. |
| Repeat | Does not repeat, Daily, Weekly or Monthly. With a repeat, Until is required. Each date is its own window. A monthly date that does not exist in a month uses the last day of that month. |
| Until | The last date, in the window's time zone, included. Shown only when Repeat is Daily, Weekly or Monthly. |
| Affected monitors | At least one monitor. Only those monitors are covered. |
| Message for the status page | Optional. Saved after trimming spaces. At most 5000 characters. Shown with the window on the public page. |

Under the form, windows are grouped as Upcoming, In progress and Past. Cancel maintenance is on a window that has not ended. The page then says Maintenance cancelled. A cancelled window drops off the list and off the public page.

A window that does not repeat can gain one later. Choose its Repeat button, which opens the frequency and Until fields, then choose Save repeat. To end a rule, choose Stop repeating. The page says Repeat saved or Repeat stopped. The form says Each date is its own window. Changing or stopping the repeat changes only windows that have not started. One repeat can create at most 366 windows.

### What visitors see

The public page lists upcoming and in-progress windows under Scheduled maintenance, at most 10 windows. A window is shown only if it covers at least one monitor shown on the page. Each line is the title, then the start and end in the time zone you scheduled, then the message if you wrote one.

The banner says `Maintenance in progress` while a window is in progress and nothing else is wrong. If every monitor on the page is paused, the banner says `Monitoring paused`. A down monitor or an open incident shows `Partial outage`. `Major outage` needs more than half of the monitors on the page that are not paused to be down. A monitor that is up with a warning shows `Service warning`. Each of those wins over `Maintenance in progress`.

### When it fails

**What you see if maintenance cannot be scheduled**

| What you see | Why | What to change |
| --- | --- | --- |
| `End must be after start.` | Ends is not after Starts. | Move Ends later. |
| `Pick at least one monitor.` | No monitor is ticked. | Tick a monitor. |
| `Title must be 200 characters or fewer` | The title is over the limit. | Shorten the title. |
| `Message must be 5000 characters or fewer` | The message is over the limit. | Shorten the message. |
| `Choose daily, weekly or monthly.` | Repeat was saved without one of those. | Choose Daily, Weekly or Monthly. |
| `Choose a date to repeat until.` | A repeat has no Until date. | Set Until. |
| `Until must be on or after the start date.` | Until is before the window starts. | Move Until to the start date or later. |
| `Choose an earlier until date. A repeat can have at most 366 windows.` | Until is so late the rule would make more windows than that. | Choose an earlier Until. |
| `Could not schedule maintenance. Try again.` | The title is empty after trimming, a time could not be read, a monitor is not on this status page, or the request did not finish. | Enter a title, check the times and the monitors, and try again. |
