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(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 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.your_company.com

Name: sysLocation.0 Value: First Floor Computer Room

Name: sysServices.0 Value: 72

See also:


Next topic: Getting routing information for a given network
Previous topic: Getting the next OID variable

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003