Documentation menu

Maintenance windows

On this page

A maintenance window is a period planned in advance — a nightly backup, a release every second Tuesday, a Saturday-night migration. Snugdot keeps checking through it, so status and history stay real, but a problem that begins inside the window is recorded without a notice. If it is still there when the window ends, the notice goes out then.

A window belongs to a host or to a whole group; a group's window applies to whichever hosts are in the group when it opens.

Where to find them

Maintenance in the sidebar lists every window of your organization: open, scheduled, finished and switched off. Each row gives its purpose, a one-line summary ("Every second Tuesday at 02:00 for 1 h 30 min · Europe/Berlin") and when it next opens.

A host's page has a Maintenance button and lists the windows that apply to it, its own and its group's; on the Hosts page, each group's card has a New maintenance window button. Both open a new window with the target filled in.

Setting one up

Give the window a name, then say when:

  • Once — the date and time it opens.
  • Daily, weekly, monthly, yearly — with "every N": every 3 days, every 2 weeks, every 6 months. Weekly windows open on the weekdays you pick; monthly and yearly ones on a day of the month (the 1st, the 15th, the 31st) or a weekday by rank — the second Tuesday, the last Friday. A schedule counts from its first day and can have a last day; leave it empty for no end.

Then say when it ends: after a length of time (days, hours, minutes) or at a time. A window lasts from a minute to a year and may run past midnight or month end — 22:00 to 02:00 is four hours, and the 31st at 23:00 for six hours ends on the 1st.

Times are read in the window's timezone (your browser's by default) as wall-clock time all year: 02:00 Europe/Berlin opens at 02:00 whether or not the clocks have changed. Months without the chosen day — the 31st in April, 29 February most years — are skipped, not moved.

The Next openings card updates as you type, in the window's zone and in UTC.

A window can be switched off without deleting it: it stays in the list and does nothing until switched on.

What happens during a window

  • Checks keep running, and status, history and uptime are real. The strip doesn't draw maintenance as its own colour yet, so a failed check during a window still makes a red day.
  • The host wears a Maintenance badge on the list and its page, and the page says until when.
  • A problem that begins inside the window is recorded on the Incidents page, marked Began during maintenance — no notice was sent. If it is still there when the window ends — or when the window is deleted, switched off or shortened so the host is no longer under any window — the down notice goes out right after, saying the problem began during maintenance. The all-clear follows on recovery as usual and repeats that.
  • A problem that ends inside the window stays silent: nobody was told it broke, so nobody is told it's back.
  • A problem that began before the window is announced as usual.

Back-to-back or overlapping windows count as one stretch: a problem from the first is still "inside" while the second is open.

A pause stops the checks; a window only quiets notices. A paused host under a window shows as paused.

Who can do this

Maintenance windows have their own permissions in a role: view, create, edit, delete. Owners, admins and editors have all four; viewers only see them. A window on a host is visible to whoever can see the host (the usual team rule); a group's window to everyone who may see windows.