getone(1M) — ADMINISTRATOR COMMANDS
NAME
getone - program that retrieves variables from an SNMP entity.
SYNOPSIS
getone entity_addr "community string" "variable name" ["variable name"] ...
DESCRIPTION
Getone is an SNMP application to retrieve a set of individual variables from an SNMP entity using a GET request. The arguments are the entity’s address, the community string for access to the SNMP entity, and the fully qualified variable name(s) expressed as either dot-notation or the variable name as it appears in the MIB document. It should be noted that since the function is GET, as opposed to a GET-NEXT, the variable must be fully qualified for the request to be successful. For instance:
getone suzzy public sysDescr.0 ifNumber.0
would return the variables sysDescr.0 and ifNumber.0.
but the call
getone suzzy public system
would return an error from the entity since “system” is not a fully qualified SNMP variable.
SEE ALSO
getmany(1M), getnext(1M), getid(1M), getroute(1M), setany(1M), snmp(1M), RFC 1155, RFC 1156, RFC 1157
SNMP 2.0