This article describes how to completely uninstall the Agent Manager and remove the init.d script used to run the Agent Manager as a daemon or the Foglight® Agent Manager Windows® service.
IMPORTANT: Stop the Agent Manager using the init.d script, then remove the init.d script before uninstalling the Agent Manager.
1. Launch a command shell on the Agent Manager machine and navigate to {FGLAM_HOME}/state/default/.
2. Switch to the root user and run the script fglam-init-script-installer.sh with the remove option:
./fglam-init-script-installer.sh remove
IMPORTANT: This script must be run as root.
The setup script fglam-init-script-installer.sh removes the init.d script quest-fglam and all known symlinks to the quest-fglam script. See Installing the Agent Manager using the installer interface in the Foglight Agent Manager Users Guide for the location from which it is removed.
IMPORTANT: Remove the Agent Manager Windows service before uninstalling the Agent Manager
1. Launch a Command Prompt window on the Agent Manager machine and navigate to the {FGLAM_HOME}\bin directory
IMPORTANT: On Windows 10 and 11, you must issue the command to manually remove the Agent Manager as a Windows service using an administrator version of cmd.exe or PowerShell (not just logged in as administrator).
2. Run the Agent Manager from the command-line with the --remove-service option:
fglam.exe --remove-service
3. Close the Command Prompt window.
To uninstall the Agent Manager:
1. Stop the Agent Manager.
2. Delete the installation directory (referred to as {FGLAM_HOME} in this article) and any state directories related to this installation.
NOTE: On HP-UX, you cannot unlink a binary used for paging. This means that even if you stop the program that is using the shared library, if HP-UX has it cached, you cannot delete the file. The workaround is to move or rename the file before you delete it. For example:
$ $FGLAM_HOME/bin/fglam -q
$ cd $FGLAM_HOME/..
$ mv $FGLAM_HOME x
# rm -rf x
© 2023 Quest Software Inc. ALL RIGHTS RESERVED. Feedback 使用条款 隐私 Cookie Preference Center