ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How do you find devices not associated to specific data collectors


Article ID: 111938


Updated On:


CA Infrastructure Management CA Infrastructure Management CA Performance Management - Usage and Administration


How do you find devices not associated to specific data collectors?


Component: IMADMN


The below query can be run from the DA's command line and it will display the IP Addresses of the devices that are NOT associated to the MDRItemID of DCs ID1, ID2, & ID3.  You will need to change ID1, ID2 and ID3 to the MRDItemID of your good DCs: 

curl --header "Content-Type: application/xml" --request POST --data '<FilterSelect xmlns:xsi="" xsi:noNamespaceSchemaLocation="filter.xsd"><Filter><Not><Or><Item.MDRItemID type="EQUAL">ID1</Item.MDRItemID><Item.MDRItemID type="EQUAL">ID2</Item.MDRItemID><Item.MDRItemID type="EQUAL">ID3</Item.MDRItemID></Or></Not></Filter><Select use="exclude" isa="exclude"><Device><PrimaryIPAddress use="include"></PrimaryIPAddress></Device></Select></FilterSelect>' --url