Is there a way to export the inventory with a list of the hostname, IP address and the SNMP community string used for discovery? I don't see it as an option in the Web interface. Can this be done by a query into the database? Using one of the APIs?
Release : 21.2
SNMP profile is available via REST, and also what SNMP profile a device uses is only available via REST (/rest/devices/manageable).
http://DA:8581/rest/devices/manageable
You can get the SNMP Community String in clear text from the PC/Portal REST API.
http://PC:8181/pc/center/webservice/profiles
Also, take a look at this KB article:
List Devices in Data Aggregator that use a specific SNMP Profile