IBM WebSphere
ZenPacks.zenoss.WebsphereMonitor
This ZenPack allows Resource Manager to monitor IBM WebSphere Application Servers (WAS).
Commercial
This ZenPack is developed and supported by Zenoss Inc. Commercial ZenPacks are available to Zenoss commercial customers only. Contact Zenoss to request more information regarding this or any other ZenPacks. Click here to view all available Zenoss Commercial ZenPacks.
Support
This ZenPack is included with commercial versions of Zenoss and enterprise support for this ZenPack is provided to Zenoss customers with an active subscription.
Releases
Version 1.2.2- Download
- Released on 2016/01/15
- Requires ZenPacks.zenoss.ZenWebTx ZenPack
- Compatible with Zenoss Resource Manager 4.2.x, Zenoss Resource Manager 5.x.x
- Compatible with WebSphere 5 & 6
Configure WAS for Monitoring
To successfully monitor WebSphere, you must have the Performance Monitoring Infrastructure (PMI) servlet installed and enabled on your WebSphere instance. For more information, please see the IBM WebSphere documentation.
Configure Zenoss platform
- Navigate to the device or device class under the
/Devices/Server/Tomcat device class in the Zenoss platform
interface.
- If applying changes to a device class:
- Select the class in the devices hierarchy.
- Click Details.
- Select Configuration Properties.
- If applying changes to a device:
- Click the device in the device list.
- Select Configuration Properties.
- If applying changes to a device class:
-
Edit the appropriate configuration properties for the device or devices.
WebSphere Configuration Properties
Property Description zWebsphereURLPath Path to the PMI servlet on a WebSphere instance. The default value is the default path on a WebSphere installation:
wasPerTool/servlet/perfservlet
zWebsphereUser Used for HTTP basic authentication. This field is not required, and is empty by default. zWebspherePassword Used for HTTP basic authentication. This field is not required, and is empty by default. zWebsphereAuthRealm Used for HTTP basic authentication. This field is not required, and is empty by default. zWebsphereServer Used by the provided template to build the xpath queries for the data to collect. You must supply a value for this field. There is no default value. zWebsphereNode Used by the provided template to build the queries for the data to collect. You must supply a value for this field. -
Click Save to save your changes.
- Select Device under Monitoring Templates in the left panel.
- From the Action menu, select Bind Templates. The Bind Templates dialog appears.
- Move the Websphere template from the Available list to the Selected list, and then click Save. The Websphere template should now be displayed under the Monitoring Templates for Device. You will now be able to start collecting the WebSphere metrics from this device.
- Navigate to Graphs and you should see some place holders for graphs. After approximately 15 minutes you should see the graphs start to become populated with information.
Examples
Once the PMI module has been installed into WAS, you can generate the PMI XML file. You then can use this file to complete the monitoring template.
This example shows how to obtain the configuration properties required for basic monitoring functionality. It further shows how to add other metrics to be monitored.
You can generate the PMI XML file by browsing to this URL:
http://WASserver/wasPerfTool/servlet/perfservlet
Note: This is the default WAS server location. The URL should match the configuration property setting used in the template.
where WASserver is the WAS server's host name or IP address.
The following example XML file results:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE PerformanceMonitor SYSTEM "/wasPerfTool/dtd/performancemonitor.dtd">
<PerformanceMonitor responseStatus="success" version="6.1.0.21">
<Node name="serverA">
<Server name="serverAB">
<Stat name="serverABC">
...
<Stat name="Dynamic Caching">
<Stat name="Object: ws/WSSecureMap">
<Stat name="Object Cache">
<Stat name="Counters">
<CountStatistic ID="21" count="0" lastSampleTime="1242827146039" name="HitsInMemoryCount" \
startTime="1242827146039" unit="N/A"/>
<CountStatistic ID="28" count="5" lastSampleTime="1243610826245" name="MissCount" \
startTime="1242827146039" unit="N/A"/>
</Stat>
</Stat>
</Stat>
</Stat>
...
</Stat>
</Server>
</Node>
</PerformanceMonitor>
In the previous example, configuration properties settings are:
- zWebsphereNode:
serverA
- zWebsphereServer:
serverAB
You might want to add counters beyond the standard counters. For example, you might want to add the HitsInMemoryCount and MissCount counters (related to dynamic caching). To do this, you would add the following Twill commands to the Script tab of your WebSphere data source:
xpathextract HitsInMemoryCount '/PerformanceMonitor/Node[@name="${here/zWebsphereNode}"]/\
Server[@name="${here/zWebsphereServer}"]/Stat[@name="server"]/Stat[@name="Dynamic Caching"]/\
Stat[@name="Object: ws/WSSecureMap"]/Stat[@name="Object Cache"]/Stat[@name="Counters"]/\
CountStatistic[@name="HitsInMemoryCount"]/attribute::count'
xpathextract MissCount \
'/PerformanceMonitor/Node[@name="${here/zWebsphereNode}"]/\
Server[@name="${here/zWebsphereServer}"]/Stat[@name="server"]/Stat[@name="Dynamic Caching"]/\
Stat[@name="Object: ws/WSSecureMap"]/Stat[@name="Object Cache"]/Stat[@name="Counters"]/\
CountStatistic[@name="MissCount"]/attribute::count'
After adding these commands, you would then add the data points for HitsInMemoryCount and MissCount, and then add the data points to a graph.
Daemons
Type | Name |
---|---|
Performance Collector | zenwebtx |
Changes
1.2.2
- Added support for Zenoss 5.x