17 Nov 2021 04:51 PM - last edited on 18 Nov 2021 02:45 PM by Michal_Gebacki
When a maintenance window is applied, is it possible to "shutdown" or "release" Host Units when the server/host is scheduled under a maintenance window with no alerting needed.
Unable to turn off the DT OneAgent Service on the server since app pools would need to be cycled when we start the agent back up.
Currently, when a maintenance window is applied to Synthetics, we are able to conserve DEM Units.
Solved! Go to Solution.
17 Nov 2021 05:29 PM
Hello,
The agent is still working, only your alerts will not be identified. I suggest you create a task in shell or ansible to deactivate the OneAgent process. In a playbook you can write the timetables of your window applying non-alerting rules for shutting down Oneagent through stop service.
Tell me if this helps you or also create a shell
best regard
17 Nov 2021 06:48 PM
You would have to disable monitoring on that host, which would be a manual process from the UI and is not conjoined with Maintenance Windows from an automation standpoint. Or AS @Marcelo_santand stated use an Ansible Playbook to formulate some flavor of automation.
18 Nov 2021 02:24 AM
Hi Sonya,
You can use Host Configuration API to turn off/on the monitoring of the host using Dynatrace APIs. With the use of APIs, you can schedule the script which disables monitoring from the required host. The scenario we used in one of the customers for host monitoring and real user monitoring as well.
The only downside is disabling monitoring of OneAgent is that you need to restart the processes once you turn back on if the watchdog loops reach more than 10000 in that host.
19 Nov 2021 04:42 PM
We have known that you can turn off the DT OneAgent service on the host/server via API or UI but that is not an optimal solution for us. Restarting the app pools on the host/server - as referenced in the original question is not possible for us in certain situations.
21 Nov 2021 12:37 AM
I understood your concern,
May be we can use this as a suggestion to the product ideas page. This make sense for the users who wants to use their licenses efficiently.
However, in the view of product managers and team captains, implementation of this idea might be little bit challenging.
21 Nov 2021 12:46 AM
I created this RFE in here as a product idea,
Please vote for this so that our product team will be able to look at it. I suggest you can also ask your teammates to vote for this idea so that it gets more attention.
Next time if you have ideas or suggestions like this to our team, feel free to suggest the idea in our product ideas page.
Hope this helps! Thank you.
17 Dec 2021 02:15 PM
Hello
Thank you for your assistance. I had opened an RFE too.