05 Dec 2023 04:30 PM
Hello community,
I have a customer use case which is pretty cool, but think it may result in an RFE, but thought I'd share.
In Azure, my customer has added a ScheduledDowntime TAG. The values are in CET FRI2100-SUN0000 where Azure will detect the tag vaue and shutdown the VM's during that time period. As you can imagine, with 50-60 subscriptions, the times are all over the place. It saves the customer a lot costs at weekends.
Anyway, we have been asked to apply automatic maintenance windows for these value pairs. ie
ScheduledDowntime=FRI2100-SUN0000
ApplicationName=SALES
If we detect any anomalies, DAVIS detects OneAgent issues for servers matching the TAG value that the problems are surpressed for the time period.
Is this possible? Is such feature in the solution already, and I cannot see it?
Solved! Go to Solution.
05 Dec 2023 07:00 PM
Hi @GregOReilly
I think that you should develop a custom integration using Dynatrace API and Azure API. This script or application would periodically check Azure for VMs with the ScheduledDowntime tag and then use Dynatrace API to set maintenance windows for the corresponding time frames.
Radek
06 Dec 2023 08:36 AM
This is exactly what I was thinking. In fact, we could also extend to AWS, GCP, VMWARE and others based on a TAG value.
06 Dec 2023 09:10 AM
Exactly, yes 👍