We are trying to find name of the monitoring environment to which one of our oneagent is reporting.
We have multiple environments configured and it is very difficult to check reporting host details of every environment one by one.
Any/All suggestions are welcome.
Solved! Go to Solution.
Sure, but only the environment ID (tenant id). See the ruxitagentproc.conf and the property tenant in that file. The real name of your choice (such as "production" ) cannot be seen by an agent. But I don't think you have more than few environments in your cluster.
Thanks for the quick response Julius.
We were able to fetch the tenant ID as per your suggestions.
However, is there a way we can determine the corresponding environment name to which the tenent ID points to ?
Also, attached is a snip which will give you a rough idea about the numerous environments in our DT instance.
Well, the Dynatrace Managed Configuration API does not seem to have a proper method for retrieving list of environments in a cluster.
But what you can do is to login to the Cluster management console, open the browser's developer options and then navigate to the environment page. You should see a request to the internal rest API named "environments". Then look in to the response - it's a JSON and it contains all the data you need. It's dirty, but it works.