Content-type: text/html Man page of GETONE

GETONE

Section: Misc. Reference Manual Pages (SR_CMDMAN)
Updated: 23 July 1993
Index Return to Main Contents
 

NAME

getone - retrieve one variable's value from an SNMP entity  

SYNOPSIS

getone agent_addr clustername variables
 

DESCRIPTION

The getone utility is an SNMP application to retrieve a set of individual variables from an SNMP entity using a "get" request.

The arguments to getone are

agent_addr:
address of machine running SNMP agent.
clustername:
either an SNMPv1 community string or an SNMPv2 party clustername.
variables:
one or more variables to retrieve.
 

EXAMPLES

Variables may be in name form, number form, or as they appear in the MIB document. It should be noted that since the function is "get," as opposed to a "getnext," the variable MUST be fully qualified for the request to be successful. For instance

getone myagent public sysDescr.0 snmpInPkts.0

or

getone myagent Mgr1Agt1 sysDescr.0 snmpInPkts.0

would return the variables sysDescr.0 and snmpInPkts.0, but the call

getone myagent public system

or

getone myagent Mgr1Agt1 system

would return an error from the entity since it is not a fully qualified SNMP variable.  

FILES


 /etc/srconf/mgr/acl.pty
 /etc/srconf/mgr/context.pty
 /etc/srconf/mgr/mgr.cnf
 /etc/srconf/mgr/mgr.pty
 /etc/srconf/mgr/snmpinfo.dat
 /etc/srconf/mgr/view.pty  

SEE ALSO

getnext(SR_CMDMAN), getmany(SR_CMDMAN), getbulk(SR_CMDMAN), SNMP RFCs (RFC1155 RFC1157 RFC1212 RFC1213 RFC1215, RFCs 1441-1452)  

LIMITATIONS

If any one of the variables in the list is a mal-formed OID, nothing will be sent out, and an error will be displayed.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
SEE ALSO
LIMITATIONS

This document was created by man2html, using the manual pages.
Time: 02:43:04 GMT, October 02, 2010