Removing the MySQL Enterprise Monitor: Unix

Removing the MySQL Enterprise Service Manager

To remove the MySQL Enterprise Service Manager, find the uninstall file in the /opt/mysql/enterprise/monitor directory.

Execute this file by typing:

shell> ./uninstall

During the uninstall process you will be given the option of saving existing data and log files. Choose this option if you plan to reinstall the MySQL Enterprise Monitor.

If you are not saving existing data, after uninstalling the MySQL Enterprise Service Manager you may remove the /opt/mysql/enterprise/monitor directory.


If you chose not to remove existing data and log files when uninstalling the MySQL Enterprise Monitor do not remove the /opt/mysql/enterprise/monitor directory; doing so will delete these files.

On Red Hat Enterprise Linux 4 and Fedora Core 4, the uninstall script may not stop the Tomcat server. Do this manually if necessary. To do this see, Section, “Starting/Stopping the MySQL Enterprise Monitor Service on Unix and Mac OS X”.

There may be other Java processes running on your system. Be careful not to accidentally stop them.

On some Unix platforms, including HP-UX, you may have to manually delete the uninstall application and the installation directory after you have execute the uninstall process.

Removing the Monitor Agent

Prior to removal of the Monitor Agent Service, stop any agents by changing to the init.d directory and issuing the command ./mysql-monitor-agent stop.

You will find the uninstall file in the /opt/mysql/enterprise/agent directory. Execute this file by navigating to this directory and typing:

shell> ./uninstall

Removing the Monitor Agent automatically deletes its associated .log and .pid files. After uninstalling the Monitor Agent, you can remove the /opt/mysql/enterprise/agent directory.

Removing the Monitor Agent this way removes the default service, and all the configuration files for different instances.

Removing a Single Agent

To remove only one of the agents from a machine that is running several agents, do not run the uninstall program. To remove a single agent and leave other agents intact, follow these steps:

  1. Stop the agent.

  2. Confirm the location of the log files.

  3. Remove the agent as a service.

  4. Remove/Archive associated files.

It is best to stop the agent before removing it; for instructions on stopping an agent, see Section, “Starting/Stopping the Agent on Unix”.

To confirm the location of the agent log files, check the ini file. For more information on this topic, see MySQL Enterprise Agent Configurable Options.

To remove the agent as a daemon, remove its entry in the init.d directory. Also remove or archive any log or configuration files associated with this agent.

If you have installed any additional agents, remove them in the same way.

Copyright © 2010-2022 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout