Skip navigation.

WebLogic Server Command Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

 


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 "Object Identifiers" in WebLogic SNMP Management Guide.

Syntax

java snmpwalk [-d] [-v (v1,v2)] [-c snmpCommunity] [-p snmpPort] 
             [-t timeout] [-r retries] host OID

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.


 

For information about the command arguments that are not listed in the above table, refer to Table 6-1.

Example

The following example retrieves the name of all applications that have been deployed on the Administration Server. The OID in the example command is for the applicationRuntimeName object type, which represents the Name attribute of the applicationRuntime MBean.

java snmpwalk localhost .1.3.6.1.4.1.140.625.105.1.15

If you invoke this command from a computer that is running the example MedRecServer, the command returns output similar to the following truncated output. Note that the output includes the full OID for each instance of the applicationRuntimeName object type.

Object ID: .1.3.6.1.4.1.140.625.105.1.15.32.49.102.98.97.100.97.102.99.57.48.50.
102.48.98.53.54.100.100.49.54.50.54.99.54.99.49.97.97.98.53.100.97
STRING: MedRecServer_uddiexplorer
Object ID: .1.3.6.1.4.1.140.625.105.1.15.32.54.98.49.101.57.56.54.98.98.50.57.10
0.54.55.48.100.56.98.101.101.97.55.48.53.57.99.49.51.56.98.97.99
STRING: MedRecServer_StartupEAR
Object ID: .1.3.6.1.4.1.140.625.105.1.15.32.56.48.97.53.50.52.99.101.53.54.57.54
.52.52.99.54.48.55.54.100.102.49.54.97.98.52.48.53.98.100.100.49
STRING: MedRecServer_wl_management_internal2
...

The following example retrieves the name of all applications that have been deployed on all servers in the medrec domain. The OID specified in the example command is the numerical value that the WebLogic Server MIB assigns to the applicationRuntimeName object type.

java snmpwalk -c public@medrec localhost .1.3.6.1.4.1.140.625.105.1.15

The following example returns all attributes of the ServerRuntimeMBean instance that is hosted on a Managed Server named MS1. Note that the OID .1.3.6.1.4.1.140.625.360 refers to the serverRuntimeTable object in the WebLogic MIB.

java snmpwalk -c public@MS1 localhost .1.3.6.1.4.1.140.625.360

 

Skip navigation bar  Back to Top Previous Next