Monitor traffic through the proxy server
You can monitor traffic, such as requests and connection statistics, through the proxy server. You should know the machines and nodes that will belong to the proxy server cluster before completing these steps. Also, WebSphere Application Server V6.1 needs to be installed on those machines.
Procedure
- Ensure that the proxy server is running and there is some traffic flowing through the proxy server.
- Obtain the proxy server MBean and invoke the operation to get the route statistics as follows:
- Start wsadmin.
- Get all of the traffic statistics through the proxy server using
$AdminControl queryNames type=ProxyServer,* set proxymbean <cut and paste the MBean identifier from the previous command output> $AdminControl getAttribute $proxymbean statsThe $AdminControl queryName command lists all of the proxy server MBeans. There will be 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.
Related tasks
Troubleshooting request routing and workload management through the proxy server
Setting up the proxy server