Removing a Collector
Last updated on 06 February, 2025Disclaimer: This content applies to the legacy UI and is no longer maintained. It will be removed at a future time. For up-to-date content, see Deleting Collector. At the time of removal, you will automatically be redirected to the up-to-date content.
Overview
When you delete a Collector from your LogicMonitor account, the Collector and Watchdog services should stop and the Collector should uninstall itself. If your Collector does not correctly uninstall itself, you can manually stop the Collector and Watchdog services and uninstall the Collector from the device.
Removing the Collector from Your Account
- Re-assign the devices being monitored by that Collector to a different Collector – you can re-assign devices in bulk by selecting the devices icon for the Collector you’d like to remove.
- Select Delete for the Collector:
Manually Removing the Collector from a host Resource
In some cases you might need to manually stop the Collector services and then remove/uninstall the Collector from your host resource.
Windows
Navigate to the services control panel for your Windows machine and stop the ‘LogicMonitor Collector’ and ‘LogicMonitor Collector Watchdog’ services. You can then uninstall the Collector using the standard Windows ‘Add or remove programs’ controls.
Linux
Navigate to [LogicMonitor Collector Directory]/agent/bin and execute the sbshutdown script to shut down both the Collector and Collector Watchdog services. For example:
# cd /usr/local/logicmonitor/agent/bin
# ./sbshutdown
Then you can uninstall the Collector by calling:
# ./uninstall.sh
Alternatively, you could do a recursive removal of the logicmonitor Collector directory and all its contents (there are symbolic links in /etc/init.d for logicmonitor.collector and logicmonitor.watchdog, and those should be removed to ensure the services do not keep running in memory). For example:
# rm -rf /usr/local/logicmonitor