Need to deploy one agent in multiple servers using Automation tool. Is there any any way or any API which can be used. As there are 100+ servers which require oneagent to be deployed, doing it manually will take lot of time.
There is API in dynatrace that will result you alway latest binary. You can use it in ansible or technology of your choice.
Go to your tenant and open right-top menu:
go to Environment API and there is section Deplotment
Your Dynatrace environment offers a convenient REST API for OneAgent download. You can easily trigger that by using a command line or shell script and automatically download your preconfigured OneAgent.
Most customers use this API to automate the agent deployment within their pipeline tool of choice, such as Ansible Tower.