24 Jun 2026
11:48 AM
- last edited on
25 Jun 2026
07:27 AM
by
MaciejNeumann
24 Jun 2026 02:36 PM
Why not define a Maintenance Window instead?
24 Jun 2026 04:16 PM
Thank you for your response!
Maintenance window is already configured but not serving the need.
FYR -
As you see the maintenance umbrella is already there but problem is getting created at the same time. These are auto scaled hosts which are coming for a while and going back off.
Thanks
25 Jun 2026 07:22 AM
Hi,
Can you share maintenace window created?
Best regards
25 Jun 2026 08:24 AM
Sure -
Problem Statement: The auto scaled hosts are coming for somewhat ex 5mins and by that time the tags are not getting propagated. Once it is getting propagated its too late the hosts are already gone.
As a reason both the MW umbrella and problems are seen on the last given snap.
Hence, we need a way to close these with a cron schedule via workflow but how?
I've already checked the API solution too but that's one problem ID at a time.
Thanks
25 Jun 2026 10:04 AM
Hi,
Important thing is scope. Are those hosts in scope? Are you filtering them by tag or management zone?
Best regards
25 Jun 2026 10:14 AM - edited 25 Jun 2026 10:15 AM
Hello,
With "tag" and yes "hosts"!
MW is perfect! The 1st snap has the umbrella.
Thanks
25 Jun 2026 11:39 AM - edited 25 Jun 2026 01:14 PM
Hey,
You could use the Problems API to automatically close the issue.
It is strange that the maintenance window is not working, as this should normally prevent the problem from being created in the first place avoiding pollution of your env.
Using a workflow is more of a workaround / dirty fix rather than the ideal solution.
Note: Instead of using tags, you could leverage the advanced options to create more detailed and granular filters. However, this should already provide you with a good first version to get started.
Replace {envID} by your envID.
https://{environmentid}.live.dynatrace.com/api/v2/problems/{{event()["event.id"] }}/close
in your credential vault don't forget to add 'Api-Token ' before copy pasting of your token
Featured Posts