How can you list Devices that are using a specific SNMP Profile?
When Device SNMP credentials change, you need to find all devices that use the old credentials and update them with the new credentials.
You're prepared with a new SNMP Profile and a new Discovery Profile to run against the devices and update the SNMP Profile they use. But are unable to determine the specific list of Devices and their IPs for the Discovery Profile.
All DX NetOps Performance Management releases
You can use a filtered request with the Manageable Devices Data Aggregator (DA) REST API to return this information.
Use the SNMP Profile ID in use to find the devices. Then you'll use the ID in the filtered request to limit the results to only those SNMP managed devices that use that SNMP Profile.
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
<Filter>
<ManageableDevice.SNMPProfileID type ="EQUAL">SNMP-Profile-ID</ManageableDevice.SNMPProfileID>
</Filter>
</FilterSelect>
Unable to use a REST CLI? Only able to use curl statements locally on the DA CLI?
Use the following options. Notes:
TIP: Add <Select> statements to limit returned results to select values from a given device.
Sample image from the free ARC (Advanced REST Client) showing a filter request seeking SNMP Profile ID 6052.