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.
Caused by: java.lang.ArrayIndexOutOfBoundsException: 12
Release : 20.4
Component : UIM - SNMPCOLLECTOR
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
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.
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.