DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring the Simple Network Management Protocol (SNMP)

Getting many variables at once

The getmany(1Msnmp) 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 system
   

Name: 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.mynet.com

Name: sysLocation.0 Value: First Floor Computer Room

Name: sysServices.0 Value: 72


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004