# Dynatrace Oneagent installation automation script of mass deployment

**URL:** <https://community.dynatrace.com/t/dynatrace-oneagent-installation-automation-script-of-mass-deployment/20130>\
**Category:** Open Q&A\
**Tags:** installation, oneagent\
**Created:** [March 25, 2019, 12:33pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-installation-automation-script-of-mass-deployment/20130 "2019-03-25T12:33:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sangeetha\_mitta](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sangeetha\_mitta](https://community.dynatrace.com/u/sangeetha_mitta)\
**Post date:** [March 25, 2019, 12:33pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-installation-automation-script-of-mass-deployment/20130/1 "2019-03-25T12:33:54Z")

</div>

Hi  
Could you please help us with the below requirement?

We have got requirement to deploy oneagent to monitor 1200 hosts?

Could you please share if there is any sample automation script for mass oneagent deployment(Chef/Puppet)?

Thanks&Regards

Sangeetha

---

<div class="post-metadata">

**Author:** ![kulwinder\_singh](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@kulwinder\_singh](https://community.dynatrace.com/u/kulwinder_singh)\
**Post date:** [March 25, 2019, 12:52pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-installation-automation-script-of-mass-deployment/20130/2 "2019-03-25T12:52:57Z")

</div>

Hi Sangeetha,

What sort of environment you have? Windows/linux

plus i can write scripts for automation but our environment is a SaaS one and that too syntheics module only. So will have to check out for way to automate this it should not be very difficult though. if you can give me the answer to above question i can basically create a script for it and you can test it on few servers and let me know how it goes.

regards,

Kulwinder Singh

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [March 25, 2019, 3:00pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-installation-automation-script-of-mass-deployment/20130/3 "2019-03-25T15:00:27Z")

</div>

Hi Sangeettha,

These are presently available in Github. See below

1. Chef - [GitHub - Dynatrace/Dynatrace-OneAgent-Chef: This chef recipe downloads and installs the Dynatrace OneAgent on Linux or Windows systems. · GitHub](https://github.com/Dynatrace/Dynatrace-OneAgent-Chef)

2. Puppet - [GitHub - Dynatrace/Dynatrace-OneAgent-Puppet-DEPRECATED: This puppet module downloads and installs the dynatrace unified agent on windows and linux systems. · GitHub](https://github.com/Dynatrace/Dynatrace-OneAgent-Puppet)

3. Ansible - [GitHub - Dynatrace/Dynatrace-OneAgent-Ansible: This Ansible role installs Dynatrace OneAgent. · GitHub](https://github.com/Dynatrace/Dynatrace-OneAgent-Ansible)

Hope This Helps

NJ

---

<div class="post-metadata">

**Author:** ![sangeetha\_mitta](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sangeetha\_mitta](https://community.dynatrace.com/u/sangeetha_mitta)\
**Post date:** [March 26, 2019, 6:01am UTC](https://community.dynatrace.com/t/dynatrace-oneagent-installation-automation-script-of-mass-deployment/20130/4 "2019-03-26T06:01:42Z")

</div>

Thank you for the response. Our environment Dynatrace SaaS and is **Linux.** We have large environment with 1200 hosts to be monitored. Please help us with the script for mass deployment of oneagent. Also, please share Synthetic module script as well, as going forward we are going to get that requirement as well.

---

<div class="post-metadata">

**Author:** ![sangeetha\_mitta](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@sangeetha\_mitta](https://community.dynatrace.com/u/sangeetha_mitta)\
**Post date:** [March 26, 2019, 6:05am UTC](https://community.dynatrace.com/t/dynatrace-oneagent-installation-automation-script-of-mass-deployment/20130/5 "2019-03-26T06:05:38Z")

</div>

Also please let us know, the steps on how to run the script
