Monitoring BEA WebLogic (SNMP)

Establish a connection to a data source to query BEA WebLogic through SNMP and to create an initial view that contains the measures you want to monitor.

  1. On the Real-Time Monitoring tab, in the Monitor group, click System. The Data Source wizard opens.
  2. Click the Select from predefined Data Sources option button.
  3. Click Next. The System selection page opens.
  4. Expand the Application Server folder and the BEA WebLogic (SNMP) folder.
  5. Select the SNMP node and then click Next. The Connection parameters page opens.
  6. In the Hostname text box, specify the host on which WebLogic is running.
  7. Click Next. The Add SNMP Measures page opens. BEA-WEBLOGIC-MIB is selected in the list box of available MIBs.
    The following entries for monitoring the performance of your WebLogic Server are available:
    • bea.wls.jdbcConnectionPoolRuntimeTable
    • bea.wls.servletRuntimeTable
    • bea.wls.ejbEntityHomeRuntimeTable
    • bea.wls.ejbStatelessHomeRuntimeTable
    • bea.wls.executeQueueRuntimeTable
  8. Select jdbcConnectionPoolRuntimeEntry and click Get value(s) to retrieve all available JDBC connection pools. For example, when monitoring the Pet Store sample application, a connection pool named ServerRuntime:petstoreServer is returned. Interesting performance counters exposed by connection pools include the following counters:
    • JdbcConnectionPoolRuntimeActiveConnectionsCurrentCount – Returns the number of connections that are currently being used.
    • JdbcConnectionPoolRuntimeWaitingForConnectionCurrentCount – Returns the number of waiters for connections. This number is greater than zero when all connections are in use and additional requests for connections are being sent to the connection pool.
    • JdbcConnectionPoolRuntimeWaitSecondsHighCount – Returns the maximum number of seconds a client waits to check out a connection from the connection pool.
  9. To monitor the number of active connections, search for the jdbcConnectionPoolRuntimeActiveConnectionsCurrentCount column in the table that was previously returned and select the cell.
    Note: Connection pools provide a large number of performance counters. You might need to resize some columns to view the columns in which you are interested.
  10. Click Add.
  11. Repeat the previous steps until you have entered all commands you require for measure collection, then click Close. The Select displayed measures page opens.
  12. Check the check boxes for those measures that you want to include in the initial monitor view and then click Finish.
A connection to the specified host is established, and an initial view that contains the measures you selected is displayed.