We want to export all the devices in PM with SNMP versions. How do we do that?
Release : 21.2
Component : PM Data Aggregator
We need to use device rest api
Please use below Rest API query using any Rest API explorer
POST
URL http://{DAHOST/IP}:8581/rest/devices/manageable/filtered
Auth: BasicType and username and password
Body: select RAW and xml(application/xml)
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
<Select use="exclude" isa="exclude">
<ManageableDevice>
<SNMPProfileVersion use="include"/>
<SystemName use="include"/>
</ManageableDevice>
</Select>
</FilterSelect>
Output:
<ManageableDeviceList>
<ManageableDevice version="1.0.0">
<ID>1638009</ID>
<SNMPProfileVersion>SNMPV2c</SNMPProfileVersion>
<SystemName>Server36963:XBG000249.par.ipc.colt.net</SystemName>
</ManageableDevice>
<ManageableDevice version="1.0.0">
<ID>1593594</ID>
<SNMPProfileVersion>SNMPV2c</SNMPProfileVersion>
<SystemName>Sim36801:FXMINIDR01</SystemName>
</ManageableDevice>
</ManageableDeviceList>
https://knowledge.broadcom.com/external/article?articleId=206735
https://knowledge.broadcom.com/external/article?articleId=35733