How to get the list of devices which are polling with snmp v2 and snmp v3

book

Article ID: 132293

calendar_today

Updated On:

Products

CA Infrastructure Management CA Infrastructure Management CA Performance Management - Usage and Administration CA Performance Management - Data Polling

Issue/Introduction

How to get a list of devices in CAPM that are being managed with SNMPV2 or SNMPV3 in CAPC.

The customer was looking for a way to get a report on devices in CAPC that were being managed with SNMPV2 or SNMPV3.

Environment

CA Performance Management 3.x

Resolution

There isn't a way to get the list of devices that are being managed by SNMPV2 or SNMPV3 in CAPC but you can use a rest query to get this information: 


Send a POST request to http://DAHOST:8581/rest/devices/manageable/filtered 

Body: 

<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd"> 
<Filter> 
<Or> 
<ManageableDevice.SNMPProfileVersion type="EQUAL">SNMPV2c</ManageableDevice.SNMPProfileVersion> 
<ManageableDevice.SNMPProfileVersion type="EQUAL">SNMPV3</ManageableDevice.SNMPProfileVersion> 
</Or> 
</Filter> 
<Select use="exclude" isa="exclude"> 
<Item use="exclude"> 
<Name use="include"/> 
</Item> 
</Select> 
</FilterSelect> 

This will get you the list of devices with the ID and name that are being managed with V2 or V3.