Stop/restart OneAgent on Windows

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:

  1. Go to Settings > Monitoring overview.
  2. Click the Hosts, Process groups, or Applications tab to access the monitoring switches for individual entities.
  3. Slide the Monitoring switch to the Off position.
  4. Restart all processes for which monitoring has been disabled.

Stop OneAgent using the command line

If you use configuration management tools like Puppet or Ansible, you can alternatively stop the OneAgent service using the following command:

net stop "DESK OneAgent", where DESK OneAgent is the service name for OneAgent.

Note: If you stop OneAgent service, monitoring will be disabled until the service is restarted.

Start OneAgent using the command line

To start DESK OneAgent again, use the following command:

net start "DESK OneAgent", where DESK OneAgent is the service name for OneAgent.

Learn more about how DESK interacts with your OS.