Web Agent does not log its cache utilization nor how many authentications it has performed in its log files, then how can you check the statistics?
search cancel

Web Agent does not log its cache utilization nor how many authentications it has performed in its log files, then how can you check the statistics?


Article ID: 36138


Updated On:


CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On



In order to get the Web Agent cache utilization and other statistics you will need to setup OneView monitor.

OneView monitor will give you the list of Web Agent and you get the statistics from there.

Or, Wily Instroscope would give you even more details with user friendly views.


But even when you don't have those configured, you can still get the statistics.

Out of the box, your Web Agent is configured to send its statistics to the Policy Server for One View Monitor.


In the Policy Server trace log(smtracedefault.log) you will find <SMMON:***> entries which is a statistics report from that Web Agent.

By capturing the SMMON data that is sent by Web Agent, we get access to the statistics information of that particular Web Agent.



- Step1: Ensure that your Agent Configuration Object has (enablemonitoring='yes') and webagent.log shows the same.

     * This tells Web Agent to send the SMMON data to Policy Server


- Step2: Check which Policy Server this agent will be connecting to and send SMMON data every 30 seconds.

     * webagent.log will show if you are running in failover mode(enablefailover='yes') and which policy server it is connecting to (policyserver=',44441,44442,44443).


- Step3: Setup Policy Server profiler to log the SMMON data. Minimum requirement is as below 2 lines for components and data.

     * components: Loogin_Logout/Receive_Request

     * date: Date, Time, AgentName, Data

     * Optionally you can filter only the SMMON data by adding "Data: @@SMMON" in a separate line.

     Sample smtracedefault.txt file below.


Sample "<PS>/config/smtracedefault.txt" file with filter to log only "SMMON" data. (5th line is empty line)

components: Login_Logout/Receive_Request

data: Date, Time, AgentName, Data

version: 1.1

Data: @@SMMON


It should generate smtracedefault.log as below.

<Please see attached file for image>

The [AgentName] section shows the TrustedHost name where this message is coming from.

The [Data] section has the SMMON data and you need to check the "AgentName" within the SMMON data in order to understand which agent statistics it is for because you may have multiple agents sharing the same SmHost.conf file.


- Step4: Now that you have SMMON data, you need to extract the information.

     * It will be easier to view each entry if you  have some sort of XML parser.

SMMON data sample

<SMMON:ComponentRegistered xmlns:SMMON='http://netegrity.com/monitor'>

    <Host HostId=''>

        <SmComponent CompPath='Agent;6128'></SmComponent>



<SMMON:ComponentData xmlns:SMMON='http://netegrity.com/monitor'>

    <Host HostId=''>

        <SmComponent CompPath='Agent;6128' Version='12.52QMR01'>

































     * The important part of the data above is "HostId", "Name" and then the rest of the statstics information in the "SmComponent" section.


Additional Information:

- This is part of Web Agent Core feature so all regular Web Agents will generate and send this SMMON data to policy server regardless of platform or version.


Release: ESPSTM99000-12.51-Single Sign On-Extended Support Plus


1558722264342000036138_sktwi1f5rjvs16we9.png get_app