Deploy OneAgent on Mesos/Marathon

To monitor applications running in Mesos clusters, it's recommended that you deploy OneAgent on all Mesos agent nodes (formally known as "Mesos slaves") by means of a Marathon app deployment. Following this, install OneAgent on the Mesos master nodes, as explained on this page.

Locate your OneAgent installer URL

The first step is to obtain the location for ONEAGENT_INSTALLER_SCRIPT_URL. This information is presented to you during OneAgent installation.


Select Deploy Dynatrace from the navigation menu.

Click Start installation and select Linux.

Copy the URL, as shown below. OneAgent installation page with URL to be modified

Append the API token header to the URL using the API-token parameter, for example:

Install OneAgent

Deploy OneAgent on Mesos agent nodes.

If you're using DC/OS to manage your Mesos cluster, you can take advantage of the Dynatrace package in the DC/OS universe. The universe package will automatically deploy Dynatrace to all your Mesos agent nodes.

Deploy OneAgent on Mesos master nodes.

Marathon doesn't allow you to deploy applications to master nodes (except for nodes that are tagged as both master and agent). This is why you must manually install OneAgent on all Mesos master nodes that aren't additionally configured as Mesos agents. Please use the default Linux installer for this.