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

Locate problem via API Rest

alban_denizot
Contributor

Hi,


Is it possible to catch the geolocasition of a problem via the API ? Let me explain: Throughout Dynatrace we know if a problem affects a host, service or process. Imagine a problem affects a host I suppose we can geolocate the host and corrolate with the problem.


Is it possible to get this info via API Rest ?


Hope I was clear 🙂


3 REPLIES 3

alban_denizot
Contributor

Any Suggestions ?


It's not possible. Dynatrace can assign host to detected datacenter. This datacenter can have location configured, but there is no API interface for reading datacenter data from host I think.

https://answers.dynatrace.com/spaces/482/dynatrace-open-qa/questions/207769/how-is-the-location-of-d...

Another option would be adding properties to hosts or tags that will allow you read location from them. You can use for this tag detection rules:

https://www.dynatrace.com/support/help/shortlink/tagging#automated-approach

or you can use environment variables:

https://www.dynatrace.com/news/blog/automate-tagging-entities-environment-variables/

Sebastian


Thanks for your comment !