Basically i am new in the field of shell scripting and i want to run snmpwalk using linux script
**here is the script i have created:**
echo "Starting SnmpWalk"
var =
snmpwalk -v2c CS IP 1.3.6.1.4.1.1563.10.1.4.2.1.1.1.1.7
echo {var}
**(I have entered the community String and Ip Correct.)**
but i am getting a error as :
Starting SnmpWalk
No community name specified.
USAGE: snmpwalk [OPTIONS] AGENT [OID]
Version: 5.9.1
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
Asked by Anubhav Kumar Panda
(1 rep)
Feb 16, 2024, 06:15 AM
Last activity: Feb 16, 2024, 09:54 AM
Last activity: Feb 16, 2024, 09:54 AM