is there a way to list all devices assigned to a Data Collector in Performance Management?
DX NetOps : all supported versions
you can accomplish this task using REST on the Data Aggregator (DA)
to do it with Curl (Command line URL) syntax:
get the DC ID number from the portal:
..
..
..
Create file /tmp/dc.xml with following syntax
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
<Filter>
<Item.MDRItemID type="EQUAL">6916</Item.MDRItemID>
</Filter>
<Select use="exclude" isa="exclude">
<Item use="exclude">
<Name use="include" />
</Item>
<Device use="exclude">
<Latitude use="include" />
<LocationDesc use="include" />
<Longitude use="include" />
<HostName use="include" />
<PrimaryIPAddress use="include" />
<ContactStatus use="include" />
<DiscProfileID use="include" />
</Device>
<Lifecycle use="include">
</Lifecycle>
</Select>
</FilterSelect>
To run it:
curl -kv -u admin -s -X POST -d @/tmp/dc.xml http://DAHOST:8581/rest/devices/filtered --header "Content-Type: application/xml" | xmllint --format -
curl -kv -u admin -s -X POST -d @/tmp/dc.xml https://DAHOST:8582/rest/devices/filtered --header "Content-Type: application/xml" | xmllint --format -
Can push to file using
> /tmp/output.xml
you can do this in a REST client by sending a POST using the URL above and the body above.
http://DAHOST:8581/rest/devices/documentation
https://DAHOST:8582/rest/devices/documentation