You must activate statistics on Proxy Server before you can monitor performance. This can be done through the Server Manager, or by editing the obj.conf and magnus.conf files. Users who create automated tools or write customized programs for monitoring and tuning may prefer to work directly with stats-xml.
When you enable statistics/profiling, statistics information is made available to any user of your server.
Access the Server Manager, and click the Server Status tab.
Click the Monitor Current Activity link.
The Monitor Current Activity page displays.
Select the Yes option for the Activate Statistics/Profiling? element to enable statistics.
Click OK.
Click Restart Required.
The Apply Changes page appears.
Click the Restart Proxy Server button to apply the changes.
Under the default object in obj.conf, add the following line:
NameTrans fn="assign-name" name="stats-xml" from=" (/stats-xml|/stats-xml/.*)" |
Add the following Service function to obj.conf:
<Object name="stats-xml">
Service fn="stats-xml"
</Object>
Add the stats-init SAF to magnus.conf.
Here is an example of stats-init in obj.conf:
Init profiling="on" fn="stats-init" update-interval="5"
The above example shows you can also designate the following:
update-interval. The period in seconds between statistics updates. A higher setting (less frequent) will be better for performance. The minimum value is 1; the default value is 5.
profiling. Activate NSAPI performance profiling. The default is “no,” which results in slightly better server performance. However, if you activate statistics through the user interface, profiling is turned on by default.