How can one re-configure the OneAgent

What is the best approach to reconfigure a already installed OneAgent without re-installation

Changing the typical parameters that you would set during installation:

  1. TOKEN
  2. TENANT_TOKEN
  3. LOG access
  4. INFA_ONLY

Hi Reinhard,

I would offer that a re-installation would be the safer, supported (and probably quicker) option to make the above changes.

But otherwise, in a windows environment, the first three parameters can be found in “../Program Files/Dynatrace/oneagent/conf/ruxitagent.conf”

For Linux “/opt/dynatrace/oneagent/conf/ruxitagent.conf” or similar

Digging around, I can’t find where the INFRA_ONLY flag is stored. I did however dig up this answer which talks about making those changes within Dynatrace (needs to be enabled globally & then can be set per host).
https://community.dynatrace.com/questions/191041/how…

Hope that’s helpful.

Joel

Currently, the best approach would probably be to use oneagentctl (see OneAgent configuration via command-line interface — Dynatrace Docs).