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 DESK 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/
for OneAgent version 1.165+ and in /etc/rc.d/oneagent
for earlier versions.
To stop OneAgent, use root privileges and execute the oneagent
service script with the stop
parameter.
Note: 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 the start
parameter.
Learn more about how OneAgent interacts with your OS.