Snmpget

From Net-SNMP Wiki
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