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

Getting a variable

The easiest command to use for retrieving specific variables is getone(1Msnmp). The syntax of getone is getone node community variable. For example, to ask node ``paris'' for its system description, enter the command getone paris public sysDescr.0. This assumes that paris accepts requests with a community of public.

The following shows two uses of getone:

getone example

   # getone paris public sysDescr.0
   

Name: sysDescr.0 Value: SNMPD Version 3.0 for SCO UNIX

# getone paris public sysName.0

Name: sysName.0 Value: paris.cities.mynet.com


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