SNMPv3 Discovery passphrase error discovering snmp devices

book

Article ID: 185649

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

We are trying to convert eHealth to UIM. When Trying to discover SNMP devices in USM, which eHealth and Spectrum are walking the MIB fine, devices get icmp discovered but no key or snmpv3 authentication.

We get this error in the logs:


[PerIpDiscovery-2, discovery_agent] Exception with SNMP query for 10.****** with authentication 1: java.lang.IllegalArgumentException: USM passphrases must be at least 8 bytes long. 


Cause

Password used  should be minimum of 8 characters. 

Environment

UIM 9.20
eHealth
Spectrum 10.3
snmpcollector

Resolution

There is no tested migration from eHealth to UIM.
For snmp discovery passphrase error above:
You can try check the character lengths on your passwords and if they are less than 8 characters try changing it to 8 or more characters.
If you are unable to enter longer passwords,  check below workaround to simply append the password again.
For example:
If your password is "1234" you provide "12341234" which has 8 characters but has the same key than "1234".
https://snmp4j.agentpp.narkive.com/NQWtslr8/can-i-override-the-limitation-of-snmp-v3-minimum-passphrases-length

Additional Information

https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?GroupId=1315&MessageKey=5ef00a9c-1acheck b7-40d1-a833-c38e9830259a&CommunityKey=170eb4e5-a593-4af2-ad1d-f7655e31513b&tab=digestviewer&ReturnUrl=%2fenterprisesoftware%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d170eb4e5-a593-4af2-ad1d-f7655e31513b%26tab%3ddigestviewer