Technical data

Commands for Retrieving the Value of WebLogic Server Attributes
Administration Guide C-49
snmpwalk
Returns a recursive list of all managed objects that are below a specified node in the
MIB tree.
If you specify the OID for an object type, the command returns a list of all instances
of that type along with all instances of any child object types.
For example, if you specify the OID for an object type that corresponds to an MBean,
this command returns a description of all instances of the MBean and all instances of
the attributes within the MBeans.
To see the WebLogic Server MIB tree, refer to the WebLogic Server SNMP MIB
Reference. For more information about the structure of the MIB and its object
identifiers (OIDs), refer to “SNMP MIB for WebLogic” in WebLogic SNMP
Management Guide.
Syntax
java snmpwalk [-d] [-c snmpCommunity] [-p snmpPort]
[-t timeout] [-r retries] host OID
For information about the command arguments that are not listed in the above table,
refer to Table C-1.
Example
The following example returns all attributes of the ServerRuntimeMBean instance
that is hosted on the Administration Server. Note that the OID
.1.3.6.1.4.1.140.625.360 refers to the serverRuntimeTable object type in the
WebLogic MIB.
java snmpwalk localhost .1.3.6.1.4.1.140.625.360
Argument Definition
OID Specifies the object ID of the node from which you want to retrieve a recursive
list of object values.
Start the value with '.'; otherwise, references are assumed to be relative to the
standard MIB ( .1.3.6.1.2.1), not the WebLogic Server MIB.