Maintenance Windows

We have a feature with which you can pause checks at a pre-set time, this will pause monitoring and alerting. This feature is available on the Advanced subscription plan or higher. You can set this up from under Experience Monitoring > Maintenance in My Pingdom.

Here is how to set up a maintenance window:

  • Navigate to the above mentioned page
  • Click "Add maintenance"
  • Enter a name for this maintenance period
  • Select a start date and an end date
  • Check the checkboxes beside each of the checks you want to pause during this period
  • Double check your settings
  • Click the "Save" button at the bottom right.

Here are some command line and python options that you also can use to pause your checks, these uses our API which is available to all subscription plans.

cURL pause multiple checks:

curl -L -H "app-key: <APP_KEY>" -X PUT -u "<USERNAME>:<PASSWORD>" "<CHECKID1>,<CHECKID2>,<CHECKID3>"

cURL unpause multiple checks:

curl -L -H "app-key: <APP_KEY>" -X PUT -u "<USERNAME>:<PASSWORD>" "<CHECKID1>,<CHECKID2>,<CHECKID3>"


"""Pause a Pingdom check using Python."""
import requests
import json
# Set the check IDs you want to pause here by changing CHECKID*
CHECKS = ','.join([CHECKID1, CHECKID2, CHECKID3]) # Set your app-key here HEADERS = {'app-key': 'APP_KEY'} # Set your username and password here AUTH = ('username', 'password') # Here we set up everything URL = ' PARAMS = { 'paused': 'true', 'checkids': CHECKS } # Here we execute the request R = requests.put(URL, auth=AUTH, headers=HEADERS, params=PARAMS) # We build a new dict of the returned data response_data = {'headers': dict(R.headers)} response_data.update({'status_code': R.status_code}) response_data.update({'body': R.json()}) print(json.dumps(response_data, indent=2, sort_keys=True))
Was this article helpful?
2 out of 13 found this helpful