Manual Removal of WLC Collector
Execute the steps below to manually remove the collector.
- SSH to WLC Collector
appliance.
$ ssh sevone@<NMS appliance>
- Delete the cron jobs related to the collector. The cron jobs can be viewed using the following command.
Execute the command for Wifi version < 2.3
$ crontab -e
Remove the following cron files.
Execute the commands for Wifi version >= 2.3 to 2.7
$ vi /etc/cron.d/wifi-cron-cisco $ vi /etc/cron.d/wifi-cron-aruba $ vi /etc/cron.d/wifi-cron-common
Execute the commands for Wifi version >= 2.8
$ vi /etc/cron.d/wifi-cron-cisco $ vi /etc/cron.d/wifi-cron-aruba
- Remove docker images. This is an optional step.
Obtain list of imageIds to dispose
$ docker images
Note: All images starting with docker.sevone.com/sc/collectors/wifi and containing a tag with an <older version>, can be removed.Unload all images
$ docker rmi <imageId1 imageId2 ...>
- Delete deployment folder / Remove product files. This is an optional
step.
$ rm -r /opt/WLCCollector
- Delete transferred images / Remove image files. This is an optional step and applies only
to Wifi version <
2.3.
$ rm -r /root/WLCCollector
- Delete logs. This is an optional step.
Execute the command for Wifi version < 2.3
$ rm /var/log/wlc_*.*
Execute the command for Wifi version >= 2.3
$ rm -r /var/log/wifi-wlc