View Source

WAS THIS PAGE HELPFUL? {html}<a href="mailto:training@gwos.com?subject=How to uninstall GroundWork Monitor">Leave Feedback</a>{html}\\
\\

h5. Overview

The uninstall process removes GroundWork Monitor Enterprise and deletes the remaining artifacts of {{/usr/local/groundwork}}. Specifically, the {{/usr/local/groundwork/users}} directory and file tree, the PostgreSQL database, and all local plugins added to the system.

h5. Steps

# Open a PuTTY session (or similar) to the GroundWork server.
# As user {{root}}, execute the following command to start the uninstall process:
{noformat}/usr/local/groundwork/uninstall{noformat}
#* You will be prompted with: {{Do you want to uninstall GroundWork Monitor Enterprise and all of its modules?}}. To continue the uninstall, type {{Y}} and press _Enter_.
#* You will be prompted with: {{Do you wish to delete all saved datafile too? WARNING: This includes the entire /usr/local/groundwork/users directory and file tree, the PostgreSQL database, and all local plugins added to the system.}} To continue the uninstall, type {{y}} and press _Enter_.
#* When uninstall has completed you should receive the following prompt:
{noformat}Info: Uninstallation completed
Press [Enter] to continue:{noformat}
# On some systems users are left behind, these users can be removed with the following commands:
{noformat}userdel -f postgres{noformat}
{noformat}userdel -f nagios{noformat}
{noformat}userdel -f gdma{noformat}
# Some user generated data is intentionally not removed with an uninstall. If you wish to purge this data as well you can remove it:
{noformat}rm -rf /usr/local/groundwork/*{noformat}
# The {{/usr/local/groundwork/}} directory can now be deleted unless it is a filesystem mount point:
{noformat}rm -rf /usr/local/groundwork{noformat}