cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to turn on/of certain problem notification enablements via time interval or API call?

chloe_bennett
Newcomer

Hi, I'm wondering if it is possible to turn off problem notification enablements either during certain time periods or via API call. I have a routine process where I need to make updates on a service I'm working on, but this requires turning the problem notification enablements off or Dynatrace will scream. My usually process at the moment is to turn it off prior to these these updates, but sometimes I wonder if I can just automate this step since it happens at the same time every time. 

2 REPLIES 2

Hello @chloe_bennett ,

Yes, if you’re looking to disable problem notifications via the API, you can use the following endpoint: : https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/settings...

Additionally, you might want to consider using workflow , which can help automate and manage such actions more efficiently.

Also, have you considered using a maintenance window for this scenario? It might help achieve the desired outcome without disabling notifications entirely.

 

!!! Dynatrace !!!

mgome
Advisor

You can use maintenance windows API to prevent alerting.  There three options for maintenance windows:

  • DETECT_PROBLEMS_AND_ALERT
  • DETECT_PROBLEMS_DONT_ALERT
  • DONT_DETECT_PROBLEMS

https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/settings...

Featured Posts