Change v3 credentials
search cancel

Change v3 credentials

book

Article ID: 404891

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

How can I change snmpv3 credentials using REST

Environment

Dx NetOps Performance Management any version

Resolution

  1. Go to http(s)://<portal>:<port>/pc/center/webservice/profiles/ 
    • Note the id / rank of the profile you want to change
  2. Then go to http(s)://<portal>:<port>/pc/center/webservice/profiles/profileItemId/<id> from step 1
  3. Do a POST to  http(s)://<portal>:<port>/pc/center/webservice/profiles/saveProfile/<rank>

 

Use the following syntax:

 

<?xml version="1.0" encoding="UTF-8"?>
<SnmpProfile>
  <profileID>id from step 1</profileID>
  <name>test</name>
  <userName>test</userName>
<context/>
  <version>Version3</version>
<securityLevel>AuthAndPriv</securityLevel>
  <authProtocol>SHA</authProtocol>
<authPassword>password</authPassword>
<privProtocol>AES</privProtocol>
    <authPassword>password</authPassword>
    <privPassword>password</privPassword>
</SnmpProfile>

 

The rest code should request an incremental sync.  So next time the sync process runs, it will push to DA and NFA and ultimately the DC's and the polling issue should resolve after 2 successful polls.