Configuration and Discovery

Download this manual as a PDF file

The following sections describe how to configure and discover IBM WebSphere Application Servers for monitoring by SL1 using the IBM: WebSphere Application Server PowerPack:

Prerequisites for Monitoring IBM WebSphere Application Servers

To configure the SL1 system to monitor IBM WebSphere Application Servers using the IBM: WebSphere Application Server PowerPack, you must first set up the following:

NOTE: When configuring PMI, it is recommended that you set the status to "All" for each of the application servers you want to monitor.

NOTE: If PMI is disabled on any server, SL1 will continue to show statistics on that server. If the user does not want to see the statistics on the server on which PMI was disabled, they can recursively disable them. SL1 will eventually move that server to Vanished Devices and purge it based on the settings that the user has chosen.

  • After installing, ensure that PerfServlet is mapped to all the WebSphere application servers that you want to monitor
  • To configure the WebSphere credential and access the PerfServlet application, you will need the hostname, default http(s) transport port, and credentials.

Creating a SOAP/XML Credential for IBM WebSphere Application Servers

To use the Dynamic Applications in the IBM: WebSphere Application Server PowerPack, you must first define a SOAP/XML credential in SL1. This credential allows SL1 to connect with an IBM: WebSphere Application Server.

The PowerPack includes a sample credential you can use as a template for creating SOAP/XML credentials.

To configure a SOAP/XML credential to access an IBM WebSphere Application Server:

  1. Go to the Credentials page (Manage > Credentials).
  2. Locate the IBM: WebSphere Example sample credential, click its Actions icon () and select Duplicate. A copy of the credential appears.
  3. Click the Actions icon () for the "IBM: WebSphere Example copy" credential copy and select Edit. The Edit Credential modal page appears.

  1. Enter values in the following fields:
  • Name. Type a name for the IBM WebSphere credential.
  • All Organizations. Toggle on (blue) to align the credential to all organizations, or toggle off (gray) and then select one or more specific organizations from the Select the organizations the credential belongs to drop-down field to align the credential with those specific organizations.
  • URL. The default value in this field is "http(s)://%D:<port>/wasPerfTool/servlet/perfservlet?refreshconfig=true" where %D is the hostname. The port number is determined from the information provided when setting up the PerfServlet.
  • HTTP Auth User. Type the username for a user with access to the PerfServlet application.
  • HTTP Auth Password. Type the password for the PerfServlet account username.
  1. Click Save & Close.
  2. In the confirmation message, click OK.

Creating a SOAP/XML Credential for IBM WebSphere Application Servers in the SL1 Classic User Interface

To configure SL1 to monitor IBM WebSphere Application Servers, you must first create a SOAP/XML credential. This credential allows the Dynamic Applications in the IBM: WebSphere Application Server PowerPack to connect with an IBM WebSphere Application Server.

The PowerPack includes an example SOAP/XML credential that you can edit for your own use.

To configure a SOAP/XML credential to access an IBM WebSphere Application Server:

  1. Go to the Credential Management page (System > Manage > Credentials).
  2. Locate the IBM: WebSphere Example credential, then click its wrench icon (). The Edit SOAP/XML Credential modal page appears.

  1. Complete the following fields:
  • Profile Name. Type a name for the IBM WebSphere credential.

  • URL. The default value in this field is "http(s)://%D:<port>/wasPerfTool/servlet/perfservlet?refreshconfig=true" where %D is the hostname. The port number is determined from the information provided when setting up the PerfServlet.
  • HTTP Auth User. Type the username for a user with access to the PerfServlet application.
  • HTTP Auth Password. Type the password for the PerfServlet account username.
  1. Click the Save As button.

Discovering IBM WebSphere Component Devices

To discover an IBM: WebSphere Application Server:

 

  1. On the Devices page () or the Discovery Sessions page (Devices > Discovery Sessions), click the Add Devices button. The Select page appears:

Image of the Add Devices wizard, page 1

  1. Click the Unguided Network Discovery button. Additional information about the requirements for discovery appears in the General Information pane to the right.
  2. Click Select. The Add Devices page appears.
  3. Complete the following fields:
    1. Name. Type a unique name for this discovery session. This name is displayed in the list of discovery sessions on the Discovery Sessions tab.
    2. Description. Optional. Type a short description of the discovery session. You can use the text in this description to search for the discovery session on the Discovery Sessions tab.
    3. Select the organization to add discovered devices to. Select the name of the organization to which you want to add the discovered devices
  4. Click Next. The Credentials page of the Add Devices wizard appears:

Image of the Add Devices wizard, page 2

  1. On the Credentials page, select the SOAP/XML credential that you created for IBM: WebSphere Application Server.
  1. Click Next. The Discovery Session Details page of the Add Devices wizard appears:

Image of the Add Devices wizard, page 2

  1. Complete the following fields:
    • List of IPs/Hostnames. Type the IP address(es) for the IBM: WebSphere Application Server device(s) you want to discover.
    • Which collector will monitor these devices?. Required. Select an existing collector to monitor the discovered devices.
    • Run after save. Select this option to run this discovery session as soon as you save the session.
  2. In the Advanced options section, click the down arrow icon () to complete the following fields:
    • Discover Non-SNMP. Enable this setting.
  3. Click Save and Run if you enabled the Run after save setting, or Save and Close to save the discovery session. The Discovery Sessions page (Devices > Discovery Sessions) displays the new discovery session.
  4. If you selected the Run after save option on this page, the discovery session runs, and the Discovery Logs page displays any relevant log messages. If the discovery session locates and adds any devices, the Discovery Logs page includes a link to the Device Investigator page for the discovered device.

Discovering IBM WebSphere Component Devices in the SL1 Classic User Interface

To discover an IBM WebSphere Application Server:

  1. Go to the Discovery Control Panel page (System > Manage > Classic Discovery).
  2. In the Discovery Control Panel, click the Create button. The Discovery Session Editor page appears.

  1. In the Discovery Session Editor page, complete the following fields:
  • Name. Type a name for the discovery session.
  • IP Address/Hostname Discovery List. Type the IP address for the WebSphere Application Server.

  • Other Credentials. Select the SOAP/XML credential you created for the WebSphere Application Server.
  • Discover Non-SNMP. Select this checkbox.
  • Model Devices. Select this checkbox.
  1. Optionally, you can enter values in the other fields on this page. For more information about the other fields on this page, see the Discovery & Credentials section.
  2. Click the Save button to save the discovery session and then close the Discovery Session Editor window.
  3. The discovery session you created appears at the top of the Discovery Control Panel page. Click its lightning-bolt icon () to run the discovery session.
  4. The Discovery Session window appears. When the cluster root device(s) are discovered, click the device icon () to view the Device Properties page for each device.

Verifying Discovery and Dynamic Application Alignment

During discovery, SL1 will discover the root device, then the WebSphere Node which will in turn discover the server. All applicable Dynamic Applications will be aligned to each component.

To verify that SL1 has automatically aligned the correct Dynamic Applications during discovery:

  • After the discovery session has completed, go to the Devices page and find the device(s) you discovered. When you have located the device, click on it.
  • Click the Collections tab.
  • All applicable Dynamic Applications for the WebSphere devices are automatically aligned during discovery.

    It can take several minutes after the discovery session has completed for Dynamic Applications to appear in the Dynamic Application Collections page.

You should see the following Dynamic Applications aligned to the WebSphere Management Device:

  • IBM: WebSphere Management Config
  • IBM: WebSphere Node Discovery

You should see the following Dynamic Application aligned to the WebSphere node:

  • IBM: WebSphere Server Discovery

For all other server types, you should see the following Dynamic Application aligned to the WebSphere server:

  • IBM: WebSphere EJB Aggregate Stats
  • IBM: WebSphere EJB Group Discovery
  • IBM: WebSphere JCA Stats
  • IBM: WebSphere JDBC Aggregate Stats
  • IBM: WebSphere JDBC Conn Pool Group Discovery
  • IBM: WebSphere JVM Stats
  • IBM: WebSphere Servlet Session Aggregate Stats
  • IBM: WebSphere Servlet Session Group Discovery
  • IBM: WebSphere System Stats
  • IBM: WebSphere ThreadPool Aggregate Stats
  • IBM: WebSphere ThreadPool Group Discovery
  • IBM: WebSphere Transaction Manager Stats
  • IBM: WebSphere WebApps Aggregate Stats
  • IBM: WebSphere WebApps Group Discovery

NOTE: The "IBM: WebSphere System Stats" Dynamic Application will only align to servers of type "nodeagent" on managed nodes to collect data. If you have a system that does not have a "nodeagent" server, you will have to manually align the "IBM: WebSphere System Stats" Dynamic Application.

IBM WebSphere Base Installation

The WebSphere PowerPack typically supports only a Network Deployment of WebSphere. However, by following the process below, you can configure your account to support a server with multiple instances of WebSphere Base. You will need to create a virtual device for each port, create credentials for each instance, align the virtual device to the appropriate Dynamic Applications, and verify that the Dynamic Applications are aligned to the the correct credentials.

You will need to repeat the process below for each instance you want to discover.

Creating a Virtual Device

You must create a virtual device that represents the WebSphere Base service. A virtual device is a user-defined container that represents a device or service that cannot be discovered by SL1. You can use the virtual device to store information gathered by policies or Dynamic Applications.

To create a virtual device that represents your WebSphere Base service:

  1. Go to the Device Manager page (Devices > Classic Devices, or Registry > Devices > Device Manager in the classic SL1 user interface).

  1. Click the Actions button and select Create Virtual Device from the menu. The Virtual Device modal page appears.

  1. Complete the following fields:
  • Device Name. Type a unique name for the device. (For example: IBM-Web-virtual_port_1234)

  • Organization. Select the organization for this device. The organization you associate with the device limits the users that will be able to view and edit the device. Typically, only members of the organization will be able to view and edit the device.
  • Device Class. Select Virtual Device | Soap-XML Transactions.
  • Collector. Select the collector group that will monitor the device.
  1. Click Add to create the virtual device.

Creating a SOAP/XML Credential for IBM WebSphere Base

To align the virtual device with the appropriate Dynamic Applications, you must first define SOAP/XML credentials in SL1. These credentials will allow SL1 to communicate with the Virtual Device.

To configure a SOAP/XML credential for IBM WebSphere:

  1. Go to the Credentials page (Manage > Credentials).
  2. Click Create New and then Create SOAP/XML Credential.
  3. Enter values in the following fields:
    • Name. Type a new name for the credential.
    • All Organizations. Toggle on (blue) to align the credential to all organizations, or toggle off (gray) and then select one or more specific organizations from the Select the organizations the credential belongs to drop-down field to align the credential with those specific organizations.
    • URL. Type the URL for the IBM: WebSphere Application Server account controller. (For example: "http(s)://%D:1234/wasPerfTool/servlet/perfservlet?refreshconfig=true")
    • HTTP Auth User. Type the username for a user with access to the PerfServlet application.
    • HTTP Auth Password. Type the password for the PerfServlet account username.
  4. Click Save & Close.
  5. In the confirmation message, click OK.
  6. Repeat this process for each different instance with unique names for each.

Alignment and Verification

To manually align the appropriate Dynamic Applications:

  1. Go to the Devices page.

  1. Locate the virtual device created above and click on it.
  2. From the Device Investigator page, click the Collections tab.
  3. Click the Edit button.
  4. Click Align Dynamic Application.
  5. In the window that appears, click Choose Dynamic Application.
  6. Search for and select IBM: WebSphere Management Config. Then click Select.
  7. Uncheck the box next to Use Device SNMP Credential and click Choose Credential.
  8. Search for and select the credential created above. Then click Select.
  9. Click Align Dynamic Application.
  10. Repeat this process with the IBM: WebSphere Node Discovery Dynamic Application.

Viewing IBM WebSphere Component Devices

When SL1 performs collection for your IBM: WebSphere Application Server account, SL1 will create component devices that represent each device and align other Dynamic Applications to those component devices. Some of the Dynamic Applications aligned to the component devices will also be used to create additional component devices. All component devices appear in the Devices page just like devices discovered using the ScienceLogic discovery process.

In addition to the Devices page, you can view the IBM: WebSphere Application Server and all other component devices in the following places in the user interface:

  • The Device Investigator Map page (click Map in the Device Investigator page) displays a map of a particular device and all of the devices with which it has parent-child relationships. Double-clicking any of the listed devices reloads the page to make the selected device the primary device.

Image of the Maps tab on the Device page.

  • The Device Components page (Devices > Device Components) displays a list of all root devices and component devices discovered by SL1 in an indented view, so you can easily view the hierarchy and relationships between child devices, parent devices, and root devices. To view the component devices associated with an IBM: WebSphere Application Server, find the IBM: WebSphere Application Server root device and click its plus icon (+):

Image of the tree structure on the Device Components page

  • The Component Map page (Classic Maps > Device Maps > Components) allows you to view devices by root node and view the relationships between root nodes, parent components, and child components in a map. This makes it easy to visualize and manage root nodes and their components. SL1 automatically updates the Component Map as new component devices are discovered. The platform also updates each map with the latest status and event information. To view the map for an IBM: WebSphere Application Server, go to the Component Map page and select the map from the list in the left NavBar. To learn more about the Component Map page, see the section on Maps.

Image of the map of devices under the Components section of the Classic Maps page.