Showing results for 
Show  only  | Search instead for 
Did you mean: 

Start OneAgent in off mode


Hello dear community, I turn to your infinite wisdom for guidance. I have some Kubernetes clusters in a QA environment that are turned off every night and turned on the next day. I have Dynatrace installed on these clusters, but I generally use it on-demand. The problem occurs every morning when the clusters are turned on, they come up with a new name and this causes the configuration I left the day before (turning off One-agent monitoring) to be lost and One-agent to start in ON mode.

Is it possible or is there any configuration in the One-agent installation that starts in OFF monitoring mode?

I appreciate your help.





DynaMight Legend
DynaMight Legend

We have developed an extension 2.0 which allows you to define profiles and sets one agent modes accordingly to the profile for new connected OneAgents. If you are interested, reach out to me here in the thread.

With Kubernetes it also depends on your deployment mode. 


This can be also accomplished by workflows - if you are on SaaS.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

We are currently using the DPS and SaaS model. The installation was done with HELM and with the dynakube.yaml file that Dynatrace suggests in its installation guide. Is it not possible to set monitoring=off in dynakube.yaml or something similar to make it start up turned off?

No, oneagents (either full stack or pass) cannot be started deactivated. You can always deactivate and reactivate them using Settings API. That's exactly what we are doing with the extension.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Thank you for your help. How can I enable or disable monitoring with OneAgent on Kubernetes using the extension you mentioned?


Thank you very much

Dynatrace Pro
Dynatrace Pro

Hi @Ellery 

I understand your problem, however I think it can be solved by configuring the Process Group, Services Name rules, Container rules, Host naming 💪.

My best recommendation is that you evaluate those rules and your problem could be solved 😄
I hope its help 💪

Pierre Gutierrez - LATAM ACE Consultant - Loving Cats! Loving Technology !

Featured Posts