09 Mar 2023
10:32 AM
- last edited on
10 Mar 2023
07:42 AM
by
MaciejNeumann
I wanted to find the list of Technologies used in my Environment and its versions. I have managed to extract the Technologies list through "OneAgent - Environment-wide configuration" API, however i am not able to find the different versions of these Technologies used in my environment. Have someone came across such a scenario and identified a way?
Solved! Go to Solution.
Hi @EugeneJacob
You should utilize /api/v2/entities with PROCESS_GROUP_INSTANCE-ID and look at softwareTechnologies
HTH
Yos
Hi @Yosi_Neuman,
Thanks for the quick response. Above procedure lists only the Technologies and versions that are specific to a particular Process Group. However i am looking for an option to list down all the Technologies and its version in my entire environment.
Regards,
Eugene Jacob
Hi @EugeneJacob
You will need to create a small automation code that will first collect all the process group instance id with /api/v2/entities?entitySelector=type%28%22PROCESS_GROUP_INSTANCE%22%29 and for each instance you will retrieve the information you need with the /api/v2/entities/PROCESS_GROUP_INSTANCE-ID
HTH
Yos
Hi @EugeneJacob
Python is my first choice for those kind of automation codes.
Check out Dynatrace Python API Client
HTH
Yos