24 Feb 2022 07:28 PM - last edited on 21 Aug 2024 09:28 AM by Michal_Gebacki
através deste link >
Eu posso fazer isso em uma máquina usando o ID mas eu quero em vários que estão em excel e para o nome do host, como?
Solved! Go to Solution.
26 Feb 2022 11:12 AM
Hi @Tatiana,
Google translate your question as:
I can do it on a machine using the ID I want and I want it to be excel and for the host name, how?
So its look like you will need the to connect your excel to your dynatrace environment REST API and retrieve all your hosts with their ID, name and monitoring mode with Hosts API - GET a host.
Then for each host you chose, update the monitoring mode with Host Id and OneAgent monitoring configuration API - PUT configuration.
Check this GitHub thread for another approach in which you can use a little python code to create excel from dynatrace rest API which you can change according to your needs.
HTH
Yos