SNMP Manager Programmer's Guide
Reference Summary
SNMP Manager Programmer’s Guide–134249
9-10
Sample Manager Invocation
is used if the host is the same host as the manager’s host or if it can be reached over
Expand. If IPC communication fails, UDP communication is used.
SNMPGET [-c agent-community string]
[-i request-id]
[-p agent-request-port}
[-r retry-count]
[-t timeout-seconds]
[-a NonStop-agent-process]
[-x output-information-level]
target-host-identifier
MIB-object [MIB-object...]
agent-
community
string
The community name used by the target agent for request
authentication. You can format the community name as a
displayable string or as a sequence of octets, where each octet is
an 8-bit hexadecimal value. The default is "public".
request-id
An integer that uniquely identifies the first request packet sent by
the manager. The default is 1. If retry-count is greater than 0,
the request ID is incremented by one each time another request is
sent.
agent-
request-port
The UDP destination port to use to address the agent. The
default is 161.
retry-count
The number of times to resend the packet if an error occurs. The
default is 0.
timeout-
seconds
The number of seconds the manager should wait for response
receipt before resending the request or terminating. The default
is 5.
NonStop-
agent-process
The name of a NonStop agent process with which you want the
manager to interact. The default is $ZSNMP. When specifying
the agent name for a manager that will run as an OSS process,
delimit it with single quotation marks.
output-
information-
level
Describes the kind and amount of output information you want
generated. Valid options are:
0 (no output information)
1 (error information)
2 (request packet information)
3 (error and request packet information)
4 (response packet information)
5 (error and response packet information)
6 (request and response packet information)
7 (error, request packet, and response packet information)
The default is 7.