Stop/restart OneAgent on AIX
In case you don't want to use OneAgent inside a particular Java (or other) process, you can easily disable Dynatrace monitoring for individual hosts, process groups, or applications:
- Go to Settings > Monitoring overview.
- Click the Hosts, Process groups, or Applications tab to access the monitoring switches for individual entities.
- Slide the Monitoring switch to the Off position.
- Restart all processes for which monitoring has been disabled.
Stop and start OneAgent using the command line
-
If you use configuration management tools like Puppet or Ansible, you can alternatively stop the OneAgent service using the shell command. The
oneagent
service script is located in<INSTALL_PATH>/agent/initscripts/
.To stop OneAgent, use root privileges and execute the
oneagent
service script with thestop
parameter.If you stop OneAgent service, monitoring will be disabled until the service is restarted.
To start OneAgent, use root privileges and execute the
oneagent
service script with thestart
parameter.
Learn more about how OneAgent interacts with your OS.