does someone have an idea on how to get a list of all devices that exist on a single data collector server? Especially if there are multiple DCs within the given IP Domain.
Unfortunately the list in the DC Admin page is not exportable (at least in the used release). But as it's there, there needs to be a way to get this list.
I tried the OpenAPI builder, but i think i would need something like for
devices with DataCollectionMgrId=SomeNumber select *
But the DataCollectionMgrId attribute is not available within the builder for devices.
Regards and have a nice weekend
The DCDebug page from the Data Aggregator might provide what you're looking for.
Go to http://<DA_HOST>:8581/dcdebug
On that page, select the "Display Polled Devices" option. Set the appropriate IP Domain. I believe it should list devices and IPs per DC for each Domain.
Hope that helps.
In addition to Mike's response you could also use
Free script to export the device list from Data Aggregator in a csv file
Well, what you can do is
1. get the DC ID from filtered get of all DCs (just limited on the tags needed )
2. get the device list with filtered get on the DC ID of interest
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd"><Select use="exclude"> <Item use="exclude"> <Name use="include"/> </Item></Select></FilterSelect>
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd"><Filter><And><Item.MDRItemID type="EQUAL">665</Item.MDRItemID></And></Filter><Select use="exclude"> <Item use="exclude"> <Name use="include"/> </Item> <Device use="exclude"> <PrimaryIPAddress use="include"/> <CalculatedContactStatus use="include"/> </Device></Select></FilterSelect>
Thank you all,
i think with those suggestions i should get the job done.
I'll test tomorrow.