Smarts SAM: Receive "Generic Error" ( SNMP-ERR_GENERR) while running Smarts IP sm_snmpwalk
search cancel

Smarts SAM: Receive "Generic Error" ( SNMP-ERR_GENERR) while running Smarts IP sm_snmpwalk

book

Article ID: 304032

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




Receive "Generic Error" ( SNMP-ERR_GENERR) in Smarts SAM while running Smarts IP sm_snmpwalk command

Receive the following error in Smarts SAM while running Smarts IP sm_snmpwalk command:

SNMP-E-EERRRESPONSE-Error response from 192.x.x.x, port 161
SNMP-ERR_GENERR-Generic Error



Environment

VMware Smart Assurance - SMARTS

Cause

The sm_snmpwalk command is being run with the wrong SNMP version. By default, sm_snmp uses SNMP v1 and sm_snmpwalk uses SNMP v2c.

Resolution

To resolve, this issue, run the sm_snmpwalk command with SNMP version v1, using the following command syntax:

sm_snmpwalk c <community> --snmp=<version> host/IP  

If the error still persists, run the sm_snmpwalk command with the --noBulk option. This should succeed without any errors because when third-party software applications execute a normal get, they do not use the bulk option. The command syntax for this is as follows:

sm_snmpwalk --noBulk <deviceIP> <Community string>