search cancel

snmpcollector "Query Discovery Server" runs but profiles are not added for devices discovered via the Setup Wizard

book

Article ID: 243902

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

snmpcollector "Query Discovery Server" runs but profiles are not added for devices discovered with SNMP V1 or V2 or V3 credentials via the Setup Wizard

Error captured in snmpcollector.log

error, Unable to decode the text.: Unable to decode the text.
snmpcollector] (1) error, Unable to decode the text.: Unable to decode the text.
 at com.nimsoft.nimbus.Cryptographer.wrap(Cryptographer.java:485)
 at com.nimsoft.nimbus.Cryptographer.decrypt(Cryptographer.java:464)
 at com.nimsoft.nimbus.Cryptographer.decrypt(Cryptographer.java:385)
 at com.nimsoft.nis.authentication.BaseAuthenticationProfile.decryptPassword(BaseAuthenticationProfile.java:125)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 12

Environment

Release : 20.4

Component : UIM - SNMPCOLLECTOR

 

Cause

The root cause of this issue is that SNMP v1 / v2 / v3 credentials are not initially saved in encrypted format by the Operator Console Discovery Setup Wizard

Resolution

The fix for this issue in UIM 20.4  will be available in cumulative update CU5 which is expected tentative in last week of September 

Current workaround on using SNMP V1 or v2 Credentials with the Setup Wizard

a. Add and Save the SNMP v1 or v2 Credentials
b. Then switch it to the "other" version (1 to 2, or 2 to 1) then hit update

Make sure that you have not created a profile with the same name as community string, i.e. Name of public and Community string  of public would not encrypt the Community string in the database, contributing to this issue. Simply change the Name to something other than the Community string.

For snmpv3 

In the snmp profile in OC setup wizard change dropdown from v3 to v2 and then back to v3 .
After this it should show update enabled for this profile .Click update

 

After the password for the snmp credentials has been encrypted, the "Query Discovery Server" from snmpcollector should create the snmp profile successfully.