Monitoring traffic through the proxy server

You can monitor traffic, such as requests and connection statistics, through the proxy server.

Before you begin

You should know the workstations and nodes that belong to the proxy server cluster before completing these steps because the product must be installed on those workstations.

Procedure

  1. Ensure that the proxy server is running and some traffic is flowing through the proxy server.
  2. Obtain the proxy server MBean and invoke the operation to get the route statistics.
    1. Start wsadmin.
    2. Get all of the traffic statistics through the proxy server using one of the following commands:
      Using the JACL command
      $AdminControl queryNames type=ProxyServer,*
      set proxymbean <cut and paste the MBean identifier from the previous command output>
      $AdminControl getAttribute $proxymbean stats
      
      Using the Jython command
      print AdminControl.getAttribute((AdminControl.queryNames("type=ProxyServer,*")), "stats")

      The $AdminControl queryName command lists all of the proxy server MBeans. There is one per active proxy server in the cell. Set the proxymbean variable to the appropriate proxy server MBean from the output of the previous command.

Results

The traffic that flows through the proxy server can now be monitored.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 5, 2014 9:49:51 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-mp&topic=tjpx_monitor_proxymbean
File name: tjpx_monitor_proxymbean.html