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.
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.
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
Then you can uninstall the Collector by calling:
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