Skip Headers
Oracle® Load Testing ServerStats User's Guide
Version 9.10 for Microsoft Windows (32-Bit)

Part Number E15485-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

A ServerStats Examples

This appendix provides examples for creating various types of monitors. In these examples, monitored systems are configured while configuring the monitors. You could configure the monitored systems in advance using the System Manager by selecting Systems from the Manage menu. The examples also use the Oracle Load Testing Server system as the data collector in all examples. You could configure remote data collectors to use either during configuration or in advance using the System Manager.

A.1 Windows 2000 Metric Profile

This example explains how to create a Windows 2000 metric profile monitor.

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Metric Profiles node.

  6. Expand the Systems node and select Microsoft Windows NT, 2000.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. If the system does not have a data collector running on it, enter the domain name, username, and password for logging on to the monitored system.

  11. Click Test to see whether Oracle Load Testing can access the system.

  12. Click OK.

  13. Click OK.

  14. Click Next.

    The Add Monitor: Step 3 dialog box lists components that have been previously discovered or that were manually entered in the Systems Manager.

  15. Click Discover. The Discovery setup dialog box is displayed showing any previously configured data.

  16. Make any changes and click OK. Oracle Load Testing goes through the discovery process to find the components available on this system. The Discovery Status dialog box is displayed.

  17. Click OK when the message Discovery Done is displayed.

  18. Select the components that you want to monitor and click Next.

  19. Deselect any metrics that you do not want to use.

  20. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  21. Click Stop then click Close.

  22. Click Finish. The Configurations dialog box is displayed.

  23. Click New to add additional monitors.

  24. Click Close to exit the Configurations dialog box.

A.2 Virtual Agent for Solaris Metric Profile

This example explains how to create a Virtual Agent for Solaris metric profile monitor.

Note:

If you are using SSH for the connection method, you must download plink.exe and copy it to the OracleATS\DataCollector\bin directory on the system on which the data collector is installed. The file name must be: username_host.key. The extension must be .key not .ppk. Leave the password file blank. plink is part of the PUTTY package by Simon Tatham. It is downloadable from:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Metric Profiles node.

  6. Expand the Systems node and select Virtual Agent - Solaris 5.8.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. If you are using telnet or Localhost, enter the remote username and password for logging on to the system.

  11. Enter the command prompt. For the root user, the default is #. For other users that have not configured a custom prompt, the default is $.

  12. Click Test to see whether Oracle Load Testing can access the system.

  13. Click OK.

  14. Click OK.

  15. Click Next.

  16. Click Discover. The Discovery Setup dialog box is displayed.

  17. Click OK. Oracle Load Testing goes through the discovery process to find the components that are available on this system. The Discovery Status dialog box is displayed.

  18. Click OK when Discovery Done is displayed.

  19. Select the components that you want to monitor and click Next.

  20. Deselect any metrics that you do not want to use.

  21. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  22. Click Stop then click Close.

  23. Click Finish. The Configurations dialog box is displayed.

  24. Click New to add additional monitors.

  25. Click Close to exit the Configurations dialog box.

A.3 Virtual Agent for Linux Metric Profile

This example explains how to create a Virtual Agent for Linux metric profile monitor.

Note:

If you are using SSH for the connection method, you must download plink.exe and copy it to the OracleATS\DataCollector\bin directory on the system on which the data collector is installed. The file name must be: username_host.key. The extension must be .key not .ppk. Leave the password file blank. plink is part of the PUTTY package by Simon Tatham. It is downloadable from:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Metric Profiles node.

  6. Expand the Systems node and select Virtual Agent - Linux RH 7.1.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. If you are using telmet or Localhost, enter the remote username and password for logging on to the system.

  11. Enter the command prompt. For the root user, the default is #. For other users that have not configured a custom prompt, the default is $.

  12. Click Test to see whether Oracle Load Testing can access the system.

  13. Click OK.

  14. Click OK.

  15. Click Next.

  16. Click Discover. The Discovery Setup Dialog Box is displayed.

  17. Click OK. Oracle Load Testing goes through the discovery process to find the components that are available on this system. The Discovery Status dialog box is displayed.

  18. Click OK when Discovery Done is displayed.

  19. Select the components that you want to monitor and click Next.

  20. Deselect any metrics that you do not want to use.

  21. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  22. Click Stop then click Close.

  23. Click Finish. The Configurations dialog box is displayed.

  24. Click New to add additional monitors.

  25. Click Close to exit the Configurations dialog box.

A.4 Virtual Agent for HP-UX Metric Profile

This example explains how to create a Virtual Agent for HP-UX metric profile monitor.

Note:

If you are using SSH for the connection method, you must download plink.exe and copy it to the OracleATS\DataCollector\bin directory on the system on which the data collector is installed. The file name must be: username_host.key. The extension must be .key not .ppk. Leave the password file blank. plink is part of the PUTTY package by Simon Tatham. It is downloadable from:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Metric Profiles node.

  6. Expand the Systems node and select Virtual Agent - HP-UX 11.0.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. Enter the remote username and password for logging on to the system.

  11. Enter the command prompt. For the root user, the default is #. For other users that have not configured a custom prompt, the default is $.

  12. Click Test to see whether Oracle Load Testing can access the system.

  13. Click OK.

  14. Click OK.

  15. Click Next.

  16. Click Discover. The Discovery Setup Dialog Box is displayed.

  17. Click OK. Oracle Load Testing goes through the discovery process to find the components that are available on this system. The Discovery Status dialog box is displayed.

  18. Click OK when Discovery Done is displayed.

  19. Select the components that you want to monitor and click Next.

  20. Deselect any metrics that you do not want to use.

  21. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  22. Click Stop then click Close.

  23. Click Finish. The Configurations dialog box is displayed.

  24. Click New to add additional monitors.

  25. Click Close to exit the Configurations dialog box.

A.5 Virtual Agent for AIX Metric Profile

This example explains how to create a Virtual Agent for AIX metric profile monitor.

Note:

If you are using SSH for the connection method, you must download plink.exe and copy it to the OracleATS\DataCollector\bin directory on the system on which the data collector is installed. The file name must be: username_host.key. The extension must be .key not .ppk. Leave the password file blank. plink is part of the PUTTY package by Simon Tatham. It is downloadable from:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Metric Profiles node.

  6. Expand the Systems node and select Virtual Agent - AIX 4.3.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. Enter the remote username and password for logging on to the system.

  11. Enter the command prompt. For the root user, the default is #. For other users that have not configured a custom prompt, the default is $.

  12. Click Test to see whether Oracle Load Testing can access the system.

  13. Click OK.

  14. Click OK.

  15. Click Next.

  16. Click Discover. The Discovery Setup Dialog Box is displayed.

  17. Click OK. Oracle Load Testing goes through the discovery process to find the components that are available on this system. The Discovery Status dialog box is displayed.

  18. Click OK when Discovery Done is displayed.

  19. Select the components you want to monitor and click Next.

  20. Deselect any metrics that you do not want to use.

  21. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  22. Click Stop then click Close.

  23. Click Finish. The Configurations dialog box is displayed.

  24. Click New to add additional monitors.

  25. Click Close to exit the Configurations dialog box.

A.6 Perfmon Data Source

This example explains how to create a Perfmon data source.

  1. Select Tools from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Data Sources node and select Perfmon (Windows Performance Monitor).

  6. Click Next.

  7. Select the system you want to monitor or click Add to add it.

  8. Enter the name of the system and it's host name or IP address.

  9. If the system you are monitoring does not have a data collector running on it, enter the domain name, username, and password for logging on to the system.

  10. Click Test to see whether Oracle Load Testing can access the system.

  11. Click OK.

  12. Click OK.

  13. Click Next. Oracle Load Testing goes through the discovery process to find the metrics available on this system.

  14. Select the performance object you want to monitor.

  15. Select the counters you want to monitor and click Add.

  16. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  17. Click Stop then click Close.

  18. Click Finish. The Configurations dialog box is displayed.

  19. Click New to add additional monitors.

  20. Click Close to exit the Configurations dialog box.

A.7 Oracle Database Metric Profile

This example explains how to create an Oracle Database metric profile.

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Metric Profiles node.

  6. Expand the Databases node and select Oracle.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. Select the type of driver you are using. The connect string is automatically generated for all types except custom.

  11. Specify the host name.

  12. Specify the SQL server named instance that you want to use. If nothing is specified, Oracle Load Testing uses the default instance as set up on your server. Refer to your database administrator for details.

  13. Change the default port if necessary.

  14. For the Inet Sprinta driver for SQL Server, provide the database name. For the Oracle Thin JDBC driver, provide the database or server ID.

  15. Enter the remote username and password for logging on to the system.

  16. Click Test to see whether Oracle Load Testing can access the system.

  17. Click OK.

  18. Click OK.

  19. Click Next.

  20. The Add Monitor: Step 3 dialog box lists components that have been previously discovered or that were manually entered in the Systems Manager.

  21. Click Discover. The Discovery setup dialog box is displayed showing any previously configured data.

  22. Make any changes and click OK. Oracle Load Testing goes through the discovery process to find the metrics available on this system. The Discovery Status dialog box is displayed.

  23. Click OK when the message Discovery Done is displayed.

    The Add Monitor Step 3 dialog box is displayed showing the discovered components.

  24. Select the components that you want to monitor and click Next.

  25. Deselect any metrics that you do not want to use.

  26. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  27. Click Stop then click Close.

  28. Click Finish. The Configurations dialog box is displayed.

  29. Click New to add additional monitors.

  30. Click Close to exit the Configurations dialog box.

A.8 WebServer IIS Metric Profile

This example explains how to create a WebServer IIS metric profile.

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Metric Profiles node.

  6. Expand the WebServers node and select Microsoft IIS.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. Enter the remote username and password for logging on to the system.

  11. Click Test to see whether Oracle Load Testing can access the system.

  12. Click OK.

  13. Click OK.

  14. Click Next. Oracle Load Testing goes through the discovery process to find the metrics available on this system.

  15. Deselect any metrics that you do not want to use.

  16. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  17. Click Stop then click Close.

  18. Click Finish. The Configurations dialog box is displayed.

  19. Click New to add additional monitors.

  20. Click Close to exit the Configuration dialog box.

A.9 URL Monitor for Apache Web Server

This example explains how to create a URL monitor for Apache Web Server.

Apache provides performance data via the Apache Server status web page. You can create a URL monitor that requests this page and parses data from it using a regular expression. The following examples shows sample data as returned from Apache:

Current Time: Monday, 08-May-2006 14:55:26 PDT 

Restart Time: Tuesday, 02-May-2006 10:24:02 PDT 

Parent Server Generation: 9 

Server uptime: 6 days 4 hours 31 minutes 24 seconds 

Total accesses: 29000810 - Total Traffic: 693.7 GB 

CPU Usage: u209.367 s369.148 cu0 cs0 - .108% CPU load 

54.2 requests/sec - 1.3 MB/second - 25.1 kB/request 

105 requests currently being processed, 151 idle workers 

KKC_K_KKCK______K_K____K_______CKK_C_KKC__K__C_C____K__K__KKK_K_

KKKK________CK______K_____K____KK_K__K_K____K_K_KK___KKW___KKK__

K_C_KK__K___K_KK_WKKK___WK_C_KK_KWK___K__KCK____K__K_WK_CC____K_

................................................................

This example shows how to retrieve requests/per second as found in row seven in the above example. You can view sample data using the URL:

http://www.apache.org/server-status?refreshed=N

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Data Sources node.

  6. Select URL.

  7. Click Next.

  8. Click Next. Oracle Load Testing displays the Add Monitor: Step 3 dialog box.

  9. Select Specify in the URL usage field and enter:

    http://www.apache.org/server-status?refreshed=N

    in the URL field.

  10. Select Result of Perl Expression as the metric type.

  11. Enter /([0-9]+\.[0-9]) requests\/sec/ in the Perl Expression field.

  12. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  13. Click Stop then click Close.

  14. Click Finish. The Configurations dialog box is displayed.

  15. Click New to add additional monitors.

  16. Click Close to exist the Configurations dialog box.

A.10 JMX Data Source

This example explains how to create a JMX data source.

This example can be used for retrieving metrics from application servers offering performance counters via JMX. For example, WebLogic, WebSphere, Fujitsu Interstage, NEC WebOTX, and other supported servers.

A data collector can only monitor one type of JMX monitor at a time. To monitor more than one type of JMX monitor at the same time, you must use a separate data collector for each. All JMX monitors require some set up. Following are the broad steps followed by the specific procedures:

WebLogic 9.0 and NEC WebOTX 7.1

  1. Copy configuration jar files to the data collector machines

WebSphere 6.0, 5.1, 5.0

  1. Copy configuration jar files to the data collector machines

  2. Update the properties file

WebSphere 6.1, 7.0

  1. Copy configuration jar files to the data collector machines

  2. Copy keystore/trust store files

    The following are the default values for the monitored system:

    Port: 8880 (default)

    Username: admin (check with the JMX system administrator for changes to the username)

    Password: password (check with the JMX system administrator for changes to the password)

    Trust Store File: C:\keys\DummyClientTrustFile.jks

    Trust Store Password: WebAS

    Key Store File: C:\keys\DummyClientKeyFile.jks

    Key Store Password: WebAS

WebLogic 8.0, 8.1

  1. Copy configuration jar files to the data collector machines

  2. Create jar files

  3. For WebLogic 8.1, update the properties file

A.10.1 Copying the JMX Server Installation Jar Files

Before these server types can be used, the JMX agent needs onoe or more specific configuration jar files to be copied from the JMX server installation to the <installdir>\DataCollector\classes directory on all machines that will be used as data collectors for sampling from that server. The default <installdir> is C:\OracleATS. The file(s) can be obtained from your application server installation and copied to the appropriate directory as listed in the following table.

Application Name Files to Copy Default Directory
Interstage 6.0 ejb-common.jar, eventservice-common.jar, extp-common.jar, ihs-common.jar, is-common.jar, isadmin-common.jar, isjmxcommon.jar, isjmxrt.jar, j2ee-cfg-common.jar, j2ee-sv-common.jar, javax77.jar, jms-common.jar, JMXWrapper.jar, jvm-common.jar, od-common.jar, ots-common.jar, scs-common.jar, servlet-common.jar <installdir>\DataCollector\classes\interstage6.0
Interstage 7.0 jaas.jar, jmxremote.jar, ejb-common.jar, eventservice-common.jar, extp-common.jar, ihs-common.jar, is-common.jar, isadmin-common.jar, isjmxcommon.jar, isjmxrt.jar, j2ee-cfg-common.jar, j2ee-sv-common.jar, javax77.jar, jms-common.jar, JMXWrapper.jar, jvm-common.jar, od-common.jar, ots-common.jar, scs-common.jar, servlet-common.jar <installdir>\DataCollector\classes\interstage7.0
JBoss 3.2 jbossall-client.jar <installdir>\DataCollector\classes\jboss3.2
JBoss 4.0 jbossall-client.jar <installdir>\DataCollector\classes\jboss4.0
BEA WebLogic 6.1 weblogic.jar <installdir>\DataCollector\classes\weblogic6.1
BEA WebLogic 7.0 weblogic.jar <installdir>\DataCollector\classes\weblogic7.0
BEA WebLogic 8.1 weblogic.jar, webservices.jar <installdir>\DataCollector\classes\weblogic8.1
BEA WebLogic 9.0 weblogic.jar, webservices.jar <installdir>\DataCollector\classes\weblogic9.0
BEA WebLogic 9.1 weblogic.jar, webservices.jar <installdir>\DataCollector\classes\weblogic9.1
IBM WebSphere 5.0 admin.jar, j2ee.jar, jflt.jar, jmxc.jar, jmxx.jar, log.jar, mail.jar, ras.jar, sas.jar, soap.jar, utils.jar, wasjmx.jar, wsexception.jar, wssec.jar, idl.jar, iwsorb.jar <installdir>\DataCollector\classes\websphere5.0
IBM WebSphere 5.1 admin.jar, bootstrap.jar, ffdc.jar, ibmjsse.jar, j2ee.jar, jflt.jar, jmxc.jar, jmxx.jar, log.jar, mail.jar, ras.jar, sas.jar, soap.jar, utils.jar, wasjmx.jar, wsexception.jar, wssec.jar, idl.jar, iwsorb.jar, pmi.jar, pmiclient.jar, nls.jar <installdir>\DataCollector\classes\weblsphere5.1
IBM WebSphere 6.0 admin.jar, bootstrap.jar, bsf.jar, classloader.jar, client.jar, commons-el.jar, configmanager.jar, db2j.jar, deployutils.jar, emf.jar, ffdc.jar, filetransfer.jar, ibmcertpathprovider.jar, ibmjceprovider.jar, ibmjsse.jar, idl.jar, iwsorb.jar, j2ee.jar, jacl.jar, js.jar, jspcore.jar, jspruntime.jar, jsptranslation.jar, jspvisitor.jar, mail-impl.jar, mail.jar, management.jar, pluginconfig.jar, ras.jar, runtime.jar, runtimefw.jar, sas.jar, security.jar, soap.jar, tcljava.jar, uddi4j.jar, utils.jar, validationmgr.jar, wasjmx.jar, wasproduct.jar, wccm_base.jar, webcontainer.jar, webservices.jar, wjmxapp.jar, wlmserver.jar, workspace.jar, wsdl4j.jar, wsexception.jar, wsprofile.jar, wssec.jar <installdir>\DataCollector\classes\weblsphere6.0
IBM WebSphere 6.1, 7.0 Both versions java\jre\lib\*.jar java\jre\lib\ext\*.jar

WebSphere 6.1 runtimes\com.ibm.ws.admin.client_6.1.0.jar plugins\com.ibm.ws.security.crypto_6.1.0.jar

WebSphere 7.0 runtimes\com.ibm.ws.admin.client_7.0.0.jar plugins\com.ibm.ws.security.crypto.jar

Trust Files DummyClientKeyFile.jks DummyClientTrustFile.jks

<installdir>\DataCollector\classes\weblsphere6.1
NEC WebOTX 7.1 j2ee.jar, wosv-rt.jar <installdir>\DataCollector\classes\webotx and C:\OracleATS\DataCollector\lib
NEC WebOTX 7.1 cacerts.jks (trust file) <installdir>\DataCollector\classes\webotx

A.10.2 Generating Jar Files for Weblogic 7.0, 8.1

Generate the weblogic-javax-management.jar file and copy it to the <installdir>\DataCollector\classes\weblogic8.1 or 7.0 directory. This file contains all of the class files of javax.management from weblogic.jar.

A.10.3 Updating the Properties Files for WebLogic 8.1, WebSphere 5.0, 5.1, and 6.0

JMX must be set up for testing WebLogic and WebSphere. Use the following procedure for each application server you are testing. Note that only one type of application server can be tested at a time using a particular data collector.

  1. Stop the Oracle Load Testing data collector.

  2. Open the <installdir>\DataCollector\properties\jagent_service.properties file located in your installation directory.

  3. Uncomment the line beginning with "#JHP.commandline =" corresponding to the application server you are testing by deleting the pound sign. Make sure that this is the only line that is uncommented.

  4. Select Save from the File menu.

  5. Copy the required jar files to the <installdir>\DataCollector\classes directory in the installation directory. These jar files are located on your WebSphere or WebLogic server machine in the Server LIB directory.

  6. Restart the Oracle Load Testing data collector.

A.10.4 Creating the Monitor

To create the monitor:

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Data Sources node.

  6. Select JMX.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. Select the server type.

  11. Enter the username and password if needed.

  12. Enter Trust Store and Key Store File information if needed.

  13. Click Test to see whether Oracle Load Testing can access the system.

  14. Click OK.

  15. Click OK.

  16. Click Next. Oracle Load Testing goes through the discovery process to find the metrics available on this system.

  17. Select the counters that you want to use and click Add.

  18. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  19. Click Stop then click Close.

  20. Click Finish. The Configurations dialog box is displayed.

  21. Click New to add additional monitors.

  22. Click Close to exit the Configurations dialog box.

A.11 JMX Metric Profile

This example explains how to create a JMX metric profile.

This example can be used for applying the JMX-based Fujitsu Interstage and NEC WebOTX application servers. Default profiles are included, however, you can create additional profiles after creating JMX metrics as described in the "Adding JMX Metrics" section of Chapter 1.

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Metric Profiles node.

  6. Expand the Application Servers node and select the profile.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. Click Test to see whether Oracle Load Testing can access the system.

  11. Click OK.

  12. Click OK.

  13. Click Next. Oracle Load Testing goes through the discovery process to find the metrics available on this system.

  14. Deselect any metrics that you do not want to use.

  15. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  16. Click Close.

  17. Click Finish. The Configurations dialog box is displayed.

  18. Click New to add additional monitors.

  19. Click Close to exit the Configurations dialog box.

A.12 WebLogic Server Metric Profile

This example explains how to create a WebLogic Server metric profile.

SNMP must be enabled on the system you are monitoring. Also, be sure that the MIB data you plan on collecting is supported by the SNMP daemon on the monitored machine. Refer to your system administrator for more information.

  1. Select Configurations from the ServerStats menu.

  2. Click New.

  3. Enter a name and description for the profile and click Save.

  4. Click New in the Monitors section.

  5. Expand the Metric Profiles node.

  6. Expand the Application Servers node and select BEA WebLogic Server 5.x.

  7. Click Next.

  8. Select the system you want to monitor or click Add to add it.

  9. Enter the name of the system and it's host name or IP address.

  10. Click Test to see whether Oracle Load Testing can access the system.

  11. Click OK.

  12. Click OK.

  13. Click Next. Oracle Load Testing goes through the discovery process to find the metrics available on this system.

  14. Deselect any metrics that you do not want to use.

  15. Click Test to verify that the results returned are the correct data values for the statistics and that no errors are returned.

  16. Click Stop then click Close.

  17. Click Finish. The Configurations dialog box is displayed.

  18. Click New to add additional monitors.

  19. Click Close to exit the Configurations dialog box.