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

oneagent linux install all in /opt/dynatrace


Is there a way to tell oneagent installer to use /opt/dynatrace instead of /var/lib/dynatrace/oneagent/agent/config for config files?


Dynatrace Mentor
Dynatrace Mentor

Hi Jordan,

I searched through the documentation to see if this was a parameter that you could set on install, but unfortunately it is not. See this page for available parameters:

You can define a specific directory for the agent binaries, but the log and config file locations aren't configurable.

Could you go into detail on why you would like to move the config directory in case Product Development sees the thread?



Thanks for the response. Security is tight in my organization and we do not have access to remove files in /var. We have ran into some situations where to get an agent communicating properly we needed to do a full removal including those config files and then reinstall. Also it would be a QOL improvement to just have everything in a single place.

In addition, we have standard log directories that we are asked to redirect logs to.

Dynatrace Champion
Dynatrace Champion

Hi Jordan,

The /var/lib/dynatrace/oneagent path is not configurable, only the installation path is as mentioned by Dallas.

The logs directory is going to change in future release from /opt/dynatrace/oneagent/log to standards-compliant /var/log/dynatrace/oneagent. You can watch this specific product idea: and stay tuned for an announcement on our product blog.


Featured Posts