Hello,
By default, if no filter is defined, the maintenance window is valid for the whole environment.
I would avoid a human error so I’m trying to detect maintenance windows without filters like MZ, Tags, entity names etc…
1- I don’t find any fields on entity related to the maintenance mode
2- I don’t find any metric in Dynatrace with the number of hosts in maintenance mode state, to create an alert.
3- Through settings API, the array filters seems to be empty when no filters are applied :
But I can’t use the filter parameter for the fields “filters” because it’ an array :
{ “error”: { “code”: 400, “message”: “Unable to parse ‘filter’ at fieldName ‘value.filters’ with fieldType ‘ARRAY’ with operator ‘=’: unsupported operator: =” } }
And there is no operator available in doc for array : Filtering and sorting | Dynatrace Developer
Please, do you have another idea to detect this behavior ?
Before, I’m creating a dedicated python script.
Thank you
Regards Aurélien.



