About maintenance windows
A maintenance window is a period you set on a domain when you expect checks to fail, such as a deploy, a server move or a database upgrade. While it is open, Alopex keeps running the checks it covers, but it does not count their failures, open incidents or send the alerts that would follow. To set one up, see Schedule maintenance.
What a window changes
Checks keep running during a window, except heartbeats, which have no runs of their own (see the table below). Each run is stored and marked as maintenance. A run marked as maintenance is neither a failure nor a recovery.
- No failures are counted. The count of failures in a row goes back to zero, so a failing check needs the usual number of failed runs after the window ends before an incident opens.
- No incident opens. The check's status shows Maintenance instead, unless an incident was already open.
- An open incident stays open. A window does not cause an incident, so it does not excuse one. An incident that was open when the window began stays open. A passing run inside the window does not close it. It closes with the first passing run after the window. A heartbeat is the exception: a ping that arrives during the window closes its open incident.
- Uptime is not affected. Runs marked as maintenance are left out of the uptime figures and response statistics, so planned work does not count against you.
- Your status page shows it. A window that covers a check on your status page shows there, unless you hide it.
If a failure that started during a window is still there when it ends, the incident is dated from the end of the window, not from the run that first noticed it.
The domain page shows In maintenance until <time> while a window is open, and In maintenance in <time> in the hour before one starts.
What each check does
A window covers the checks you tick, not the whole domain. What it holds back depends on the check.
| Check | During a window |
|---|---|
| Uptime | Runs are recorded as maintenance. Failures are not counted and no incident opens. |
| Certificate | The same as uptime. Warnings before expiry are still sent, because a window does not renew a certificate. |
| Domain expiry | The same as uptime. Warnings before expiry are still sent. |
| Heartbeat | A late ping is excused, not missed, and the check does not show Maintenance. A ping that arrives during the window is recorded as usual and counts as the last ping. The next deadline is the later of that ping and the end of the window, plus Expected every (minutes) and Grace period (minutes). When the window ends, the clock starts again from the end of the window. |
| DNS | Changes are recorded, labelled During maintenance, and send no alert. A change to a new value is recorded straight away, so it is not announced later. A pinned mismatch opens no incident. |
| Page changes | A new host is listed, marked During maintenance, and no alert is sent. |
| Sitemap | Runs are recorded as maintenance. Failures are not counted and no incident opens. The daily sitemap summary is not held back. |
What a window does not do
- It does not stop the checks. They keep running.
- It does not hold back certificate and registration warnings, as the table shows.
- It does not hold back the alerts about servers and threats. A window mutes check failures, and those alerts are not about a check.
- It does not cover checks you did not tick. A new window ticks the domain's own checks, heartbeats included, and leaves third-party checks, such as a payment provider's API, unticked, because their outage is not caused by your work.
- It does not close or hide an incident that was already open.
- It does not apply when it is switched off. Clear Schedule this window to pause a window without deleting it. A paused window mutes nothing and sends no reminders, and shows Paused in the list.
Repeating windows
In Repeats, a window can be Does not repeat, Daily, Weekly or Monthly. A weekly window lists its weekdays. A monthly window lists the days of the month. A repeating window can end on a Repeat until (optional) date, which is included. Alopex schedules each occurrence up to 60 days ahead.
A window is set in a time zone, which starts as the domain's own. It keeps its clock time across a change of clocks. A window at 02:00 stays at 02:00 after the clocks change. Its length is real elapsed time, so a two-hour window is two hours across the change. If the start time does not exist on the night the clocks go forward, the window starts when the clocks jump to.
A monthly window set for day 31 does not happen in months with fewer than 31 days.
A window lasts from 1 minute to 7 days (10,080 minutes).
Reminders
A window can remind the people watching the domain before each occurrence. Remind watchers offers 15 minutes before, 30 minutes before, 1 hour before, 3 hours before and 1 day before, or No reminder.
The reminder goes to everyone who receives alerts for the domain and has Maintenance reminders switched on. See Maintenance reminders. The email has two links:
- Keep it leaves the occurrence as planned.
- A second link skips the occurrence. It opens a page that asks you to confirm with Skip this occurrence, so a mail program that opens links does not skip it by accident.
Both links work without signing in, and stop working when the occurrence starts. After that the page says Too late to skip.
Skipping one occurrence
To leave out one occurrence of a repeating window, for example because there is no deploy this week, select Skip beside it on the domain's Maintenance tab. Unskip puts it back. A skipped occurrence mutes nothing. You cannot skip or unskip an occurrence that has already started, because its runs are already recorded as maintenance.
If you edit a window's schedule, occurrences in the future that the new schedule no longer produces are cancelled. Occurrences that have started are not changed.
Who can manage windows
Anyone who can see the domain sees its windows on the Maintenance tab. You need permission to edit the domain to add, edit, skip or delete one. The owner of a domain cannot change its windows while the account is suspended.