![]() ![]() OneAgent and Dynatrace Cluster automatically maintain a working connection. This command will immediately change the OS module connection endpoint, but the code modules won't be able to read the new setting until the next restart. For OS-specific instructions, see Linux, Windows, or AIX. Add -restart-service to the command to restart OneAgent automatically (version 1.189 ) or stop and start OneAgent process manually. These parameters require restart of OneAgent, as well as restart of all the applications monitored with deep code modules. \oneagentctl.exe -set-server= -set-tenant=abc123456 -set-tenant-token=abcdefg123456790 -set-proxy= oneagentctl -set-server= -set-tenant=abc123456 -set-tenant-token=abcdefg123456790 -set-proxy= Run the following command to adjust OneAgent connection settings: Depending on your deployment, it can be a Dynatrace Server, Dynatrace Managed Cluster, or ActiveGate. Use the -set-server parameter to set a OneAgent communication endpoint. OneAgent communication Set OneAgent communication settings Use the -version parameter to display the OneAgent version. Use the -help parameter to display all supported parameters. \oneagentctl.exe -set-proxy= -restart-service oneagentctl -set-proxy= -restart-service You can also use the restart parameter on its own, without other parameters. In some cases you'll also need to restart monitored applications. You can use the -restart-service parameter with the command that triggers the restart automatically. When you use the set parameters, you need to restart OneAgent service to apply changes. Note that you can use multiple set parameters in a single command. The oneagentctl command accepts the get parameter to check the state or value of a setting, and the set parameter to change a setting. If you try to run oneagentctl in a non-admin Windows console, Windows will display a User Account Control pop-up and fail. Windows: \agent\tools, by default %PROGRAMFILES%\dynatrace\oneagent\agent\tools.Note that this path will differ for a volume-based deployment. ![]() Docker-based deployment /agent/tools, by default /opt/dynatrace/oneagent/agent/tools. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |