cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

os:linux:command:snmpget.html



Network

snmpget - How to use snmpget command in Linux

communicates with a network entity using SNMP GET requests


Example

RFC1213 MIB-II (1.3.6.1.2.1)

# snmpget -v 2c localhost -c public 1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64
# snmpget -v 2c localhost -c public .1.3.6.1.2.1.1.5.0
SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain

NET-SNMP MIB (1.3.6.1.4.1.2021)

# snmpget -v 2c localhost -c public .1.3.6.1.4.1.2021.11.50.0
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 315



os/linux/command/snmpget.html.txt ยท Last modified: 2017/05/14 by admin

Page Tools