Discovery Error for snmp v3 device due to Engine ID Error SNMP-E-ELENGTH-engineId length is 50; allowed length is 5 - 32
search cancel

Discovery Error for snmp v3 device due to Engine ID Error SNMP-E-ELENGTH-engineId length is 50; allowed length is 5 - 32

book

Article ID: 315785

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

To provide steps on how to clear the stored EngineID in Smarts LCD Table


Symptoms:

We are trying to discover an snmp v3 device but we are getting an error saying that the engine id is too long: No response from SNMP agent, V3, SNMP-E-ELENGTH-engineId length is 50; allowed length is 5 - 32


Environment

VMware Smart Assurance - SMARTS

Cause

In this case, customer had copied and pasted the EngineID twice prior to discovery via seedfile.

Resolution

Confirm that the engine ID is configured on the device to meet the standards in the RFC 
The RFC requires the EngineID to be Hexadecimal format (00-FF) and a range from 5 to 32 octets. 

These are the steps to follow to resolve the issue in the Smarts LCD table:  

Dump Lcd table to logs:-
dmctl -s <DOMAIN> exec dmdebug --dumpLcd 

Find entry in log output and use below to remove:-

dmctl -s <DOMAIN> loadModel sm_snmp_lcdmgr
dmctl -s <DOMAIN> create SM_SNMP_LcdMgr::lcd
dmctl -s <DOMAIN> invoke SM_SNMP_LcdMgr::lcd removeEngineData <ipAddress> <port>

Additional Information

Impact/Risks:

Low