Dynatrace provides two methods for defining maintenance windows
You can have up to 2000 maintenance windows per monitoring environment. This limit applies to all maintenance windows regardless of state.
This page describes the UI-based approach. For the API reference, see Maintenance windows API.
Each maintenance window you configure has a name and description that you can use to provide contextual information about the purpose of the maintenance window.
To define a maintenance window
When a maintenance window is created, it is enabled by default. You can disable or delete it from the Maintenance windows settings page.
Maintenance windows may be excluded from Synthetic Monitoring availability calculations by applying a global setting.
You can opt to Disable synthetic monitor execution during a maintenance window. During the maintenance window, HTTP and browser monitors within the scope of the maintenance window are not executed.
To disable synthetic monitor execution during a maintenance window, the synthetic monitors must be within the scope of the maintenance window. Execution will only be disabled for the subset of synthetic monitors included within the maintenance window.
Note that any browser and HTTP monitors associated with services and web, mobile, and custom applications included within the scope of the maintenance window are also not executed.
In the example below, the following synthetic monitoring entities explicitly added to the maintenance window are disabled:
VSP - Test
However, if you define a maintenance window with a single filter for the easyTravel AMP
application (shown in the image below), any browser and HTTP monitors associated with that application are disabled, even though they are not explicitly scoped within the maintenance window.
By default, a maintenance window applies to your entire environment. You can narrow down the scope of a maintenance window to specific monitored entities while leaving everything else unaffected.
You define maintenance-window scope by specifying one or more Filters (Add filter).
Each filter is applied separately, that is, an entity matching any filter is added to the maintenance window. If you add a filter for browser monitors tagged easytravel
and frontend
and another for HTTP monitors tagged easytravel-api
, your maintenance window will include browser monitors with both the tags easytravel
and frontend
as well as HTTP monitors with the tag easytravel-api
.
You can define a filter by providing a value for one or more conditions. An entity must match all conditions defined within a filter to be scoped within the maintenance window.
You can specify an Entity type—select the entity type from the autocomplete suggestions that appear as you type. You can add only one Entity type per filter.
If you don't add any other conditions, all entities of the specified type are matched to the maintenance window. You can narrow this scope by adding conditions via Entity tags or Management zones.
You can limit the filter to a specific Entity—select the entity type and then select the entity from the provided list of entity names and IDs. You can add only one Entity by entity ID per filter.
Specify one or more Entity tags as key-value pairs (Add tag). You can also specify an optional entity type. You can specify more than one tag—entities need to match all tags in order to be included within the maintenance window.
Specify one or more Management zones (Add item > select a management zone from the list provided). You can specify more than one management zone—entities need to match all management zones in order to be included within the maintenance window.
There are monitored entities in Dynatrace (such as the Disk entity type) that don't support management zones. When you add such an entity to a maintenance window and specify a management-zone condition, the management zone of the parent entity is used instead. So if you add the Disk entity type to a maintenance window and specify a management zone, all disks from hosts belonging to that management zone are matched to the maintenance window. If there's no parent management zone, the monitored entity is matched to the maintenance window only if no management zone is specified.
In determining the scope of a maintenance window, Dynatrace considers entity parent and group relationships.
If a parent entity is scoped within a maintenance window, its immediate children are considered to be under maintenance as well. For example, if a maintenance window is configured for a host, all its disks are considered to be under maintenance as well. If a problem is raised on a disk, and the parent host is under maintenance, the affected child disk is considered to be under maintenance as well.
If an entity group is scoped within a maintenance window, its immediate members are considered to be under maintenance as well. For example, if a host group falls within a maintenance window, its member hosts are considered to be under maintenance as well. However, the child disks of the parent hosts are not considered to be under maintenance, unless, of course, the hosts are explicitly scoped within the maintenance window.
Filters are applied separately, and within each filter, an entity needs to meet all conditions to be scoped within a maintenance window.