Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

Dynatrace OneAgent Monitoring Mode

Dynatrace OneAgent Monitoring Modes define how deeply OneAgent monitors your systems, depending on the level of access and the environment it’s running in. These modes let you balance observability vs. permissions, especially in restricted environments like cloud platforms or containers.

You’re absolutely right, and thank you for pointing that out! โœ…

In the Dynatrace web UI โ†’ Host Settings, the official and user-configurable monitoring modes for hosts are indeed limited to the following three:


โœ… Dynatrace OneAgent Monitoring Modes (Visible on Host Settings)

ModeDescription
Full-Stack MonitoringEnables both infrastructure + deep application-level monitoring (PurePath, RUM, etc.). Auto-instruments apps, services, containers, etc.
Infrastructure MonitoringCollects only host-level metrics (CPU, RAM, disk, network, processes), no code-level insight.
Discovery ModeMinimal mode used for initial setup or troubleshooting. Only detects the host and some metadata, no metrics or application monitoring.

๐Ÿง  Why You See Only 3 Modes

The other modes like:

  • Cloud Infrastructure Monitoring
  • Container Monitoring
  • Application-Only Monitoring
  • Network-Only Monitoring

are not separately selectable in the UI. Instead, they are:

  • Internally handled by Dynatrace based on environment detection
  • Automatically activated depending on the deployment type, permissions, and setup

๐ŸŽฏ Real-Life Examples

EnvironmentEffective Monitoring BehaviorWhat Dynatrace Does Internally
AWS EC2 with OneAgentShows as Infrastructure or Full-StackAdds Cloud tags, AWS metrics
Kubernetes with OneAgent DaemonSetShows as Full-Stack on Node levelEnables Container Monitoring mode internally
PaaS like Heroku (no root access)Cannot use Full-StackSwitches to Application-Only Monitoring
Restricted Linux with limited permsMay fall back to Discovery or Infra onlyDisables deep instrumentation automatically

You can change the Dynatrace OneAgent Monitoring Mode using three different methods:


โœ… 1. Using Command Line (CLI)

Use the built-in oneagentctl tool:

๐Ÿ”น Syntax:

sudo /opt/dynatrace/oneagent/agent/tools/oneagentctl --set-monitoring-mode=<MODE>
Code language: HTML, XML (xml)

๐Ÿ”น Examples:

  • Set to Full-Stack Monitoring: sudo oneagentctl --set-monitoring-mode=FULL_STACK
  • Set to Infrastructure Monitoring: sudo oneagentctl --set-monitoring-mode=INFRASTRUCTURE
  • Set to Discovery Mode: sudo oneagentctl --set-monitoring-mode=DISCOVERY

๐Ÿ”น Check current mode:

sudo oneagentctl --get-monitoring-mode
Code language: JavaScript (javascript)

โœ… 2. Using Dynatrace Web UI

  1. Login to your Dynatrace console.
  2. Navigate to Hosts under Deployment Status or Infrastructure.
  3. Click on the specific host you want to configure.
  4. Click on the โ€œ…โ€ (menu) in the top-right corner โ†’ Select โ€œEditโ€.
  5. In the Monitoring Mode dropdown, choose from:
    • Full-Stack
    • Infrastructure
    • Discovery
  6. Click Save.

โœ… 3. Using Configuration File (Advanced – Less Common)

While Dynatrace encourages using the CLI or UI, it’s possible to set the monitoring mode persistently via systemd or config files before startup (especially in automated scripts).

On Linux:

  • File: /etc/dynatrace/oneagent/oneagentctl.conf

Add or modify the following line:

MONITORING_MODE=INFRASTRUCTURE

Then restart OneAgent:

sudo systemctl restart oneagent

โš ๏ธ Not officially documented for manual editing, so use with caution.


๐Ÿ“ Summary Table

MethodCommand / Steps
Command Lineoneagentctl --set-monitoring-mode=FULL_STACK etc.
UIGo to Host โ†’ Edit โ†’ Monitoring Mode
Config FileAdd MONITORING_MODE=... in config and restart agent


Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Team Foundation Server 2015 Installation Guide (SQL Express + Update 3)

Install Team Foundation Server 2015 using the original Microsoft download paths, with clear guidance for online, offline, and ISO-based setup. This revised guide also includes an installation workflow, command example, and practical pitfalls to avoid.

Read More

How to Access a Running Docker Container Shell: docker exec vs docker attach

Need a shell inside a running container that is already in detached mode? This updated guide shows the correct workflow, compares docker exec and docker attach, and explains when SSH does and does not make sense.

Read More

Host Your Own NuGet Feed: Local Source vs NuGet.Server vs NuGetGallery

Learn how to host a private NuGet feed using three practical approaches: a local folder source, NuGet.Server, and NuGetGallery. This revised guide includes setup steps, command examples, and a workflow diagram to help you choose the right model.

Read More

Publish NuGet Packages to NuGet.org: CLI Steps, Workflow, and CI Example

Learn how to publish a NuGet package to NuGet.org using either nuget.exe or the dotnet CLI. This revised guide includes a workflow diagram, command comparison, and a CI-friendly example.

Read More

How to Create NuGet Packages with nuget.exe (Assembly, .nuspec, and .csproj Methods)

Learn three practical ways to build NuGet packages using nuget.exe: from an existing assembly, from a convention-based folder layout, or directly from a Visual Studio project. This guide includes commands, folder conventions, token behavior, and common pitfalls.

Read More

Virtualization in DevOps: Using Vagrant, Docker, and Cloud Platforms Together

This guide explains how VM-based workflows, containers, and cloud platforms complement each other in DevOps. It includes a practical workflow, trade-off table, and command examples for day-to-day use.

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x