Snmpget

From Net-SNMP Wiki
Revision as of 22:45, 30 June 2011 by Wes (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Net-SNMP Tool
snmpget
Manual: snmpget
Tutorial: Tutorial
Code: apps/snmpget.c

Purpose

Issue a single SNMP GET operation to a remote agent.

Command Line

The command line options are per the snmpcmd options.

The remaining options are a list of OIDs to use.

Example Usage

 # snmpget -v 1 -c demopublic test.net-snmp.org sysUpTime.0
 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (333296) 0:55:32.96