How to use REST to convert devices from SNMPv1 to SNMPv2 via rest
search cancel

How to use REST to convert devices from SNMPv1 to SNMPv2 via rest

book

Article ID: 405157

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

We have devices that were discovered as SNMPv1 but they now respond to SNMPv2, how can we change the version used?

Environment

DX NetOps Performance Management - all supported releases.

Resolution

Using the device item id from the Data Aggregator device admin page or output from the Data Aggregator devices/manageable devices rest endpoints


URL: http(s)://<DA>:<PORT>/rest/devices/manageable/<ID>

Port is usually 8581 (http) or 8582 (https)
Replace <ID> with the device id,

Method: PUT
Content-Type: "application/xml" 
Body: 

<ManageableDevice version="1.0.0">
   <SNMPProfileVersion>SNMPV2c</SNMPProfileVersion>
</ManageableDevice>