WebLogic Server Command Reference
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
WebLogic Server can use Simple Network Management Protocol (SNMP) to communicate with enterprise-wide management systems. The WebLogic Server subsystem that gathers WebLogic management data, converts it to SNMP communication modules (trap notifications), and forwards the trap notifications to third-party SNMP management systems is called the WebLogic SNMP agent. The WebLogic SNMP agent runs on the Administration Server and collects information from all Managed Servers within a domain.
The WebLogic SNMP agent provides a command-line interface that lets you:
The following sections describe working with the WebLogic SNMP agent through its command-line interface:
For more information about using SNMP with WebLogic Server, refer to the WebLogic SNMP Management Guide.
Before you use the WebLogic SNMP agent command-line interface, set up your environment and note the command syntax information described in the following sections.
To set up your environment for the WebLogic SNMP agent command-line interface:
Note: The snmpv1trap
and snmptrapd
commands do not require the SNMP agent to be enabled.
All WebLogic SNMP agent commands take the following form:
Table 6-1 describes arguments that are common to most WebLogic SNMP agent commands.
Includes debugging information and packet dumps in the command output. |
|
Specifies whether to use SNMPv1 or SNMPv2 to communicate with the SNMP agent. You must specify the same SNMP version that you set in the Trap Version field when you configured the SNMP agent (as described in "Enabling and Configuring the WebLogic SNMP Agent" in the Administration Console Online Help) |
|
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: where To request the value of an object on a Managed Server, specify: where To request the value of an object for all server instances in a domain, specify a community string with the following form: If you do not specify a value, the command assumes |
|
Specifies the port number on which the WebLogic SNMP agent listens for requests. |
|
Specifies the number of milliseconds the command waits to successfully connect to the SNMP agent. |
|
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. |
|
Specifies the DNS name or IP address of the computer that hosts the WebLogic Server Administration Server, which is where the WebLogic SNMP agent runs. |
Table 6-2 is an overview of commands that retrieve the value of WebLogic Server MBean attributes that are exposed in the WebLogic Server MIB.
Returns a recursive list of all managed objects that are below a specified node in the MIB tree. See snmpwalk. |
|
Returns a description of the managed object that immediately follows an OID that you specify. See snmpgetnext. |
|
Returns a description of managed objects that correspond to one or more object-instance OIDs. See snmpget. |
![]() ![]() |
![]() |
![]() |