This section describes how to delete an unused collector from DCF.
To enable logs for a particular collector used for discovery/monitoring in DCF, first find the corresponding collector IDs.
If any Cisco ACI fabric is monitored and the Smart Assurance IP service is restarted with --norestore option, it is essential to delete the corresponding collectors in DCF manually. For every discovered Cisco ACI fabric, two collectors are created, run the following command to obtain information about them:
dmctl -s <domain name> -b <broker> invoke ICF_PersistentDataSet::ACICollectorIDs get
Once the Collector IDs are obtained, delete monitoring and discovery collectors using the command:
curl -k --user dcfusername:dcfpassword -X DELETE -H 'Content-Type: application/json' https://dcf-ipaddress:dcfport/dcc/v1/catalog/blocks/collector-id
curl -k --user admin:changeme -X DELETE -H 'Content-Type: application/json' https://127.0.0.1:8443/dcc/v1/catalog/blocks/cisco-aci01201478-f531-49d1-9479-0570069b5186