Skip to main content

Do You Know How to get performance data from WebSphere over http?


In such type of scenarios you can easily consume performance statistics from your WebSphere instance. The way is to establish a JMX connection to the JVM and gather the metrics.


However remote JMX connections are not firewall friendly as they require a non standard port for communication.This non standard port has also to be defined in the WebSphere configuration.


WebSphere provides a small and easy to install servlet applications that delivers performance data over http in a xml format.
The application is called PerfServletApp.ear, Performance Servlet or PerfServlet.


The installation is straight forward. Navigate to Applications > Application types > WebSphere enterprise applications > Install and deploy the PerfServletApp.ear located in <WebSphere-Install-Root>/installableApps/PerfServletApp.ear

After deployment the Performance Servlet is reachable under the URL







Filtering the results


The performance servlet provides a basic filter functionality for the xml results. To filter the results simply add parameters to the url. IBM defined serveral parameters:

  • Node: http://localhost:9082/wasPerfTool/servlet/perfservlet?node=Marcel-PCNode03

  • Server: http://localhost:9082/wasPerfTool/servlet/perfservlet?server=server1

  • Module (!): http://localhost:9082/wasPerfTool/servlet/perfservlet?module=testmodule1

  • etc.The filters can be combined:

  • http://localhost:9082/wasPerfTool/servlet/perfservlet?node=Marcel-PCNode03&server=server1&module=jvmRuntimeModule+systemModule

The PerfServlet has a kind of man page:
http://localhost:9082/wasPerfTool/servlet/perfservlet?action=help


However the PerfServlet is limited and not really for use in large network deployment topology.



Comments

Popular posts from this blog

What is STP? - Explain Advantages and Disadvantages

The Spanning Tree Protocol is a network protocol that builds a loop-free logical topology for Ethernet networks. The basic function of STP is to prevent bridge loops and the broadcast radiation that results from them. STP is a protocol. It actively monitors all links of the network. To finds a redundant link, it uses an algorithm, known as the STA (spanning-tree algorithm). The STA algorithm first creates a topology database then it finds and disables the redundant links. Once redundant links are disabled, only the STP-chosen links remain active. If a new link is added or an existing link is removed, the STP re-runs the STA algorithm and re-adjusts all links to reflect the change. STP (Spanning Tree Protocol) automatically removes layer 2 switching loops by shutting down the redundant links. A redundant link is an additional link between two switches. A redundant link is usually created for backup purposes. Just like every coin has two sides, a redundant link, along with...

How to Reset Steam Password? – Recover Your Steam Password

Are you suffering with Reset Steam Password? This blog will help you. What is Steam? Steam is the online website for getting the best games for paid. If you are a true game lover then you should have an active account on Steam. Many of people lost their password during the  PC clean-up  or any other circumstances. At that time they have to reset Password of all accounts. Then if you facing issues with the password, you forced to Steam reset password to access the Steam account. We are going to share the guide that how to recover your forgotten Steam Password and make your existing account ready. First of all, you should have enough knowledge about what is Steam and why Steam Account required? Why Steam Account Requires? Before jump into password recovery and Login details, let me clear about why Steam Account required? There are several benefits of this Steam Account from where you can easily download PC games as well as software. Though it will be p...