|
|
The
getmany(ADMN)
command is useful for retrieving many variables at a time.
The syntax of getmany is getmany node community variable.
For example,
the entire system group could be retrieved using the command
getmany node community system. Or, information about all
interfaces attached to the node could be retrieved with the
command getmany node community interfaces.
The following is an example of using getmany to get the system group.
getmany example
# getmany paris public systemName: sysDescr.0 Value: SNMPD Version 3.0 for SCO UNIX
Name: sysObjectID.0 Value: SCO.1.0
Name: sysUpTime.0 Value: 206730
Name: sysContact.0 Value: Trevor Jones x256
Name: sysName.0 Value: paris.cities.your_company.com
Name: sysLocation.0 Value: First Floor Computer Room
Name: sysServices.0 Value: 72
See also: