Bobcares

For every $500 you spend, we will provide you with a $500 credit on your account*

BLACK FRIDAY SPECIAL

*The maximum is $4000 in credits, Offer valid till December 6th, 2024, New Customers Only, Credit will be applied after purchase and expires after six (6) months

For every $500 you spend, we will provide you with a $500 credit on your account*

BLACK FRIDAY SPECIAL

*The maximum is $4000 in credits, Offer valid till December 6th, 2024, New Customers Only, Credit will be applied after purchase and expires after six (6) months

Dynatrace docker container

by | Apr 10, 2022

Dynatrace docker container can be set up easily with this quick guide by our experts. 

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Services.

Let’s take a look at how our Support Team is ready to help customers install and set up Dynatrace OneAgent.

What is Dynatrace Docker Container?

Dynatrace is responsible for enabling the monitoring of the entire infrastructure including hosts, processes as well as the network. Moreover, it allows us to log monitoring, and view information like total network traffic, host CPU usage, and so on.

Furthermore, Dynatrace is built specifically for highly-scalable container-based and microservices-based environments.

Additionally, Dynatrace offers complete Docker monitoring along with generic container monitoring for CRI-O and containerd. In other words, it offers us in-depth monitoring for containerized applications and non-containerized applications.

According to our Support Techs, there are two ways to use Docker outside a container platform:

  • Set up Dynatrace as a Docker container
  • Set up OneAgent for application-only

Today, we are going to take a look at how to set up Dynatrace OneAgent as a Docker container.

How to setup Dynatrace Docker container

The prerequisites for setting up Dynatrace OneAgent as a Docker container include:

  • A PaaS token
  • A Docker environment that allows OneAgent container to run in privileged mode.
  • An /opt directory on the host where we plan on deploying the OneAgent container.

Alternatively, we can also carry out a custom installation of Dynatrace OneAgent with command-line parameters

How to locate OneAgent installer URL

  1. First, head to the Dynatrace menu and navigate to Deploy Dynatrace > Start Installation > Linux.
  2. Then, find the installer script URL as well as the token from the wget command. The URL will look similar to the one below:
    https://host.domain.com/api/v1/deployment/installer/agent/unix/default/latest?arch=<arch>

    This is the ONEAGENT_INSTALLER_SCRIPT_URL.

How to run OneAgent as a Docker container

In order to run OneAgent as the Docker container, we will use the URL and token from the previous section. Furthermore, we will be replacing the values of ONEAGENT_INSTALLER_SCRIPT_URL and ONEAGENT_INSTALLER_DOWNLOAD_TOKEN as seen below:

docker run -d
--restart=unless-stopped
--privileged=true
--pid=host
--net=host
-v /:/mnt/root
-e ONEAGENT_INSTALLER_SCRIPT_URL=<REPLACE_WITH__URL>
-e ONEAGENT_INSTALLER_DOWNLOAD_TOKEN=<REPLACE_WITH_TOKEN>
dynatrace/oneagent

Moreover, we can also use a container orchestration tool to deploy the OneAgent container according to our Support Techs.

[Looking for a solution to another query? We are just a click away.]

Conclusion

At the end of the day, our skilled Support Engineers at Bobcares demonstrated how to install and set up Dynatrace OneAgent.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.