|
|
The arguments are the entity's address, the community string for access to the SNMP entity, and the object name(s).
The entity address can be either an IP address or entity name (if name-to-address resolution is enabled).
The community string used must be valid on the given entity. Community strings are kept in /etc/netmgt/snmpd.comm.
Object names must refer to a valid SNMP object or class of objects. Object names can be in the form of an identifier or the equivalent SNMP dot-notation. Identifiers for SNMP objects are listed in ``Group and object descriptions'' in Configuring and administering SNMP. Equivalent SNMP dot-notation for these objects is defined in the files /etc/netmgt/nwumpsd.defs, /etc/netmgt/snmpd.defs, and /etc/netmgt/unixwared.defs. For a general explanation of SNMP dot-notation, see RFC 1213.
If an object on the command line is a group name, then the object and value returned is the first object-value pair in the group.
The -T option can be used to specify the number of seconds the command will wait for a response from the entity specified by entity_addr. If not specified, this defaults to 20 seconds.
RFC 1155, RFC 1157, RFC 1213