search cancel

Export device inventory with SNMP community string

book

Article ID: 256484

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

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?

Environment

Release : 21.2

Resolution

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/profiles

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