02 Nov 2022 04:22 PM - last edited on 03 Nov 2022 09:02 AM by MaciejNeumann
Looking at the documents it states "ActiveGate supports calls to all the Dynatrace API configuration" but all the examples I find limit this to environment information. What is the syntax to get non-environment information, like a list of Dynatrace Managed Cluster environments?
https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/configuration/co...
Solved! Go to Solution.
02 Nov 2022 09:11 PM
Hi @msb,
Maybe I do not understand clearly your problem, but you can find cluster wide information in the Cluster API v1 ans v2.
https://www.dynatrace.com/support/help/shortlink/managed-hub#rest-api
I hope it helps.
Best regards,
Mizső
03 Nov 2022 01:45 AM
I have been able to successful get and post a new environment in a python script going through my Managed Dynatrace Cluster.
But now I am writing unit test cases and I cannot call the Managed Dynatrace Cluster as they are non-routable IPs, so I am calling ActiveGate which I can call on port 9999 and get information on the environments to unit test, but in the doco I only see it calling through the ActiveGate using an environment ID, but do not want environment specific information.
Let me re-state my question - What is the syntax to get non-environment information going through ActiveGate?
https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/configuration/co...
03 Nov 2022 06:59 AM
It's simple - the environment activegate stands for being an environment active gate. Thus you cannot call cluster APIs through it. You need to call the Cluster directly.
03 Nov 2022 02:54 PM
This is a Cluster ActiveGate not an Environment ActiveGate, so I think we should be able to do a GET and POST environment method through API V2?
If yes, I cannot find the format of this call.
03 Nov 2022 03:49 PM
Cluster ActiveGate does not expose this capability either.