Troubleshooting SNMP tests - SNMPWalk syntax

Modified on Wed, Sep 18, 2019 at 8:36 AM


SNMPWalk executable is available on the egurkha\bin directory of the eG agents.


To make sure we have right SNMP community string or version or credentials, please use the below command. Make sure you can get the output for the below, then only you can get the metrics from the SNMP-based test. To run the following command open a command prompt as administrator and go to egurkha\bin folder. 


1. If the SNMP version is V1      

 

o Example: snmpwalk -O nfq 192.168.1.1 public .1.3.6.1.4.1.1450

 

o String: snmpwalk -O nfq <Ip Address of the device> <Community string> <Object ID>

 

2. If the SNMP version is V2

 

o Example: snmpwalk -O nfq -v 2c 192.168.8.206 Public .1.3.6.1.4.1.1450

 

o String: snmpwalk -O nfq -v 2c <IP address of the device> <Community string> <Object ID>

 

3. If the SNMP version is V3


o Example: snmpwalk -v 3 -u kevin -l authNoPriv -A Kevin@123 -a MD5 192.168.10.253 .1.3.6.1.4.1.1450


o String: snmpwalk -v 3 -u <UserName> -l authNoPriv -A <Password> -a MD5 <IP address of the device> <Object ID>


If you need any definition for the SNMPwalk command then run the command snmpwalk help


 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article