This recipe downloads and installs the Dynatrace OneAgent on Linux or Windows systems.
####Linux
sudo chef-apply oneagent-linux.rb
####Windows
chef-apply oneagent-windows.rb
Please edit the recipe's variables according to your needs.
####environment
Your Dynatrace environment ID is the unique identifier of your Dynatrace environment. You can find it easily by looking at the URL in your browser when you are logged into your Dynatrace dashboard.
https://{environment}.live.dynatrace.com
The subdomain {environment} represents your environment id.
####token
The token for your Dynatrace environment. You can get your token by following these steps
-
go to your Dynatrace environment: https://{environment}.live.dynatrace.com
-
Click the burger menu in the right upper corner and select Deploy Dynatrace
-
You will see the "Start installation" wizard; click Linux
-
You will see the wget command line. The token is the last part of the path after /latest/
wget -O dynatrace-OneAgent-Linux-1.XX.0.2017XXXX-XXXXXX.sh https://{environment}.live.dynatrace.com/installer/agent/unix/latest/{this-is-the-token}
-
copy it and use it in your recipe
This recipe is designed for Linux and Windows systems. If it does not work for your environment please get in touch via the project site.
##License This module is provided under BSD-3-Clause license. Please check out the details in the LICENSE.txt