How to identify 'pingable" in CAPC and/or DA

Document ID : KB000115384
Last Modified Date : 19/09/2018
Show Technical Document Details
Question:
We are running version 3.5
Looking at the DA information , it says there are 132 pingable devices.
I am looking for a way to generate a list of the hostname and IP of these 132 devices.
Environment:
CAPM 3.x
Answer:
you can use REST to get this info from the Data Aggregator (DA)
use a rest client such as postmane or wiztools restclient

Do a POST to the DA

header is application/xml
YOUR_DA:8581/rest/devices/filtered  (replace YOUR_DA with the hostname of your DA)

<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd"><Filter><And><Device.SupportedProtocols type="EQUAL">ICMP</Device.SupportedProtocols><And><Not><Device.SupportedProtocols type="EQUAL">SNMP</Device.SupportedProtocols></Not><Not><Item.Name type="CONTAINS">DataAggregator:</Item.Name></Not></And></And></Filter><Select use="exclude" isa="include"><Item use="exclude"><Name use="include"/></Item><Device use="exclude"><PrimaryIPAddress use="include"/></Device></Select></FilterSelect>