getmany(1M) — ADMINISTRATOR COMMANDS
NAME
getmany - program to retrieve classes of variables from an SNMP entity.
SYNOPSIS
getmany entity_addr "community_string" "variable class name" ["variable class name"] ...
DESCRIPTION
Getmany is an SNMP application that retrieves classes of variables from an SNMP entity. The arguments are the entity’s address, the community string for access to the SNMP entity, and the variable class name(s). The variable class name is expressed as an object identifier in either dot-notation or as the mib-variable from the MIB document. Getmany retrieves the variable class by first calling the SNMP entity with the variable class name to get the first variable in the class. Utilizing the GET_NEXT() capability, it then calls the entity again using the variable name returned in the previous call to retrieve the next variable in the class. For instance, running the following:
getmany suzzy public ipRouteDest
will traverse the network entity’s ipRouteDest variable class. The traversal of the variable space stops when all of the classes being polled return a variable of a class different than what was requested. Note that a network entity’s entire variable tree can be traversed with a call of
getmany suzzy public iso
SEE ALSO
getone(1M), getnext(1M), getid(1M), getroute(1M), setany(1M), snmp(1M), RFC 1155, RFC 1156, RFC 1157
SNMP 2.0