Highlighted
Outstanding Contributor.
Outstanding Contributor.
339 views

(SM) Support Tip: How to monitor Service manager servlets status from a URL?

There are scenarios where the Service Manager administrator would like to know the status of a specific servlet without running the reportlbstatus command that will show the status of all the servlets running in the same Jgroups cluster.

 

It is possible to use a specific URL for displaying the status of one of the Service Manager Servlets.

These are the steps:

  1. Open all sm.ini files and add this line

JVMOption999:../../lib/mbeanclient-9.41.war

The mbeanclient-9.41.war is a war file which is located in the Service Manager RUN\lib folder. mbeanclient-9.41.war is for Service Manager 941 version. If you are using a different server version then you will have to make sure the war file name is matching the war file which is deployed in your RUN\lib folder

   2.  Open the browser and type one of the following URLs

To know if the servlet can accept new connections:

http://<SM server:servlet_port>/mbeanclient-9.41/Action?getattribute=AcceptNewConnection

To know the Maxload of the servlet:

http://<SM server:servlet_port>/mbeanclient-9.41/Action?getattribute=MaxLoad

To know the Current load of the servlet:

http://<SM server:servlet_port>/mbeanclient-9.41/Action?getattribute=CurrentLoad

Note:

SM server: is your Server Manager hostname

servlet_port : is the servlet port number you want to monitor

Labels (1)
Tags (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.