I need to pull the list of devices that use SNMP in CA Performance Management. How could I accomplish this?
Release : 3.6
Component : CA Performance Center
To obtain a list of all SNMP polled or Manageable devices you would need to utilize Data Aggregator REST. The endpoint daHostname:8581/rest/devices/manageable contains ONLY SNMP polled devices. To do a filtered call to get Item IDs, Names and IP Addresses you would do the following:
URL: daHostname:8581/rest/devices/manageable/filtered
Method: POST
Headers: Content-Type:application/xml
Body:
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
<Select use="exclude" isa="exclude">
<Item use="exclude">
<Name use="include"/>
</Item>
<Device use="exclude">
<PrimaryIPAddress use="include"/>
</Device>
</Select>
</FilterSelect>