Technical data

Required Environment and Syntax for the SNMP Command-Line Interface
Administration Guide C-47
java command-name arguments
Table C-1 describes arguments that are common to most WebLogic SNMP agent
commands.
Table C-1 Common Command Line Arguments
Argument Definition
-d Includes debugging information and packet dumps in the command output.
-c snmpCommunity
[@server_name |
@domain_name ]
Specifies the community name that the WebLogic SNMP agent uses to secure
SNMP data and specifies the server instance that hosts the objects with which
you want to interact.
To request the value of an object on the Administration Server, specify:
snmpCommunity
where
snmpCommunity is the SNMP community name that you set in the
Community Prefix field
on the Domain Configuration SNMP tab
of the Administration Console.
To request the value of an object on a Managed Server, specify:
snmpCommunity@server_name
where server_name is the name of the Managed Server.
To request the value of an object for all server instances in a domain, send a
community string with the following form:
snmpCommunity@domain_name
If you do not specify a value, the command assumes
-c public, which
attempts to retrieve the value of an object that is on the Administration Server.
-p snmpPort Specifies the port number on which the WebLogic SNMP agent listens for
requests.
If you do not specify a value, the command assumes
-p 161.
-t timeout Specifies the number of milliseconds the command waits to successfully
connect to the SNMP agent.
If you do not specify a value, the command assumes
-t 5000.
-r retries Specifies the number of times the command retries unsuccessful attempts to
connect to the SNMP agent.
If you do not specify a value, the command exits on the first unsuccessful
attempt.