12 Mar 2019 10:02 AM - last edited on 13 Dec 2021 12:46 PM by MaciejNeumann
Is there a way in Dynatrace Managed to Schedule Synthetic HTTP test run on Business hour of the day? 8AM to 5PM Monday to Friday
Solved! Go to Solution.
12 Mar 2019 02:57 PM
This is not recommended and restrict you from determining that there's a problem at 2am. Do you really want to wait until your customers start using your app to learn that there's a problem?
12 Mar 2019 03:32 PM
I understand that. The application has few internal users and requirement is to be monitor during business hours only hence need to setup this way, also to keep the usage low(units consumed low)
The Maintenance window is only pertaining to Problems and Alerts? would setting up maintenance between 5 PM to 8AM(Non business hours) would halt/pause execution?
12 Mar 2019 05:00 PM
Correct, Maintenance windows does not halt Synthetic execution, but does affect alerting and reporting, so this would not accomplish your goal. Currently Synthetics is not schedulable based on time of day as this would affect key calculations such as availablilty and baselines, etc. Feel free to submit an RFE request for this functionality.
12 Mar 2019 08:23 PM
HI @Mithun S. You could create a json payload and use a cron job to change the synth enable object from true/false ondemand with the synthetic API. Is not an OOTB feature but it can be done if is required. I do not know the impact of doing this.
12 Mar 2019 10:31 PM
I have an RFE for this here. The use case is for an application with a set maintenance window nightly that is agreed upon with clients where we need to report on uptime and performance only during business hours so metrics during these windows would make it difficult to report on that. This is definitely more of an edge case though, in most situations you'd always want to be measuring uptime and reporting on issues even during 'off hours.'
In the synthetic browser monitor tile you have an option to exclude this from the dashboard calculation but that is not the case for HTTP monitors at the moment (another rfe here).
10 Jun 2019 11:17 AM
In answer to Mithun's question above... no, setting a maintenance window betwen 5pm >> 8am wouldn't halt/pause the script execution.
I understand where Mithun is coming from, a scheduling feature to control frequency and times would be extremely helpful to us as well.
Like him, a lot of our scripts / apps have a much lower criticality level through the night. We're also using the same amount of DEM units regardless of when the script runs, which is not cost effective.
We used to use classic synthetic, which did have scheduling capability. Most of our scripts were on a different schedule in / out of office hours. This never seemed to effect our base lining / threshold alerting.
We're now using new Synthetic, but most of our alerts are for failures rather than exceeded thresholds anyway.
I'm not sure how changing the time or frequency of a script would affect the baseline threshold when it appears to be set within each script.
Thanks
09 Oct 2019 04:08 PM
Since Dynatrace is shutting down the Synthetic monitoring on the classic/SaaS enviornment and it has this capability. I would think they would make certain this feature exists on the managed solution and allow it to work just as easy as it did on the classic design. Our Dynatrace Account team is taking this back to discuss with their developers. Signed unhappy customer!
22 Jun 2021 08:48 AM
Maintenance Windows that enable and disable monitors are now available in Dynatrace, since Cluster version 1.211