Pausing monitors and maintenances

Pausing monitors

Pausing monitors from the UI

If you want to pause monitors, for example during setup or testing, and not get notified about downtime:

  • Go to Monitors.
  • Pick the monitor you want to pause.
  • Click Pause in the headline.

Better Stack stops checking the monitor until you click Unpause.

Pausing monitors using API

To pause a monitor over the API, send paused to Update monitor.

Request example:

Pause monitor Unpause monitor
curl --request PATCH \
  --url https://incidents.betterstack.com/api/v3/monitors/:monitor_id\
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{"paused": true}'
curl --request PATCH \
  --url https://incidents.betterstack.com/api/v3/monitors/:monitor_id\
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{"paused": false}'


Scheduled maintenance window

Schedule maintenance window from the UI

Scheduled maintenance windows are used for times when you're expecting downtime to occur, and don't want to be alerted. This could be for example when running maintenance scripts in your infrastructure or provisioning a new infrastructure.

To add a maintenance window:

  • Go to Monitors.
  • Pick the monitor you want to add a maintenance window to.
  • Click Configure in the headline.
  • Click Advanced settings.
  • Enter your maintenance window time in the Maintenance window between section, and select the right time zone.
  • Optionally, select the days of the week on which the maintenance window should repeat.
  • Click Save changes.

Schedule maintenance window using API

To schedule a maintenance window over the API, use Update monitor.

Request example:

Schedule a maintenance window via API
curl --request PATCH 'https://incidents.betterstack.com/api/v3/monitors/:monitor_id' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $TOKEN" \
--data-raw '{
"maintenance_from": "01:00:00", 
"maintenance_to": "03:00:00", 
"maintenance_timezone": "Prague"
}' 


Want to pause all monitors, heartbeats, and integrations for the whole team? Explore the Team-wide maintenance instead.

Want to only pause alerting for a single person? Explore using holiday mode instead.