Communicate with a network entity using SNMP GET NEXT requests
This utility has been deprecated in SNMP version 2. |
snmpgetnext [-d] host community variable_name
Neutrino
The snmpgetnext utility uses the GET NEXT request to query for information on a network entity. You can specify one or more fully qualified object identifiers in the format specified in the file mib.txt. For each one, the utility returns the variable in the network entity's MIB that is next in alphanumeric order.
Retrieve the variables sysDescr.0 and sysUpTime.0:
snmpgetnext netdev-kbox.cc.cmu.edu public system.sysContact.0 system.sysName.0
The output is similar to:
system.sysName.0 = "computer" system.sysLocation.0 = "Outer Regions"
If the network entity has an error processing the request packet, snmpgetnext displays an error message helping to pinpoint how the request was malformed.
This utility has been deprecated; it works only with SNMP version 1.
snmpd, snmpget, snmpnetstat, snmpstatus, snmptest, snmptrap, snmptrapd, snmpwalk
/etc/mib.txt file
Based on RFC 1065, RFC 1066, RFC 1067
Marshall T. Rose, The Simple Book: An Introduction to Internet Management, Revised 2nd ed. (Prentice-Hall, 1996, ISBN 0-13-451659-1)