DX Application Performance Management

Expand all | Collapse all

Clamped Agent

Jump to Best Answer
  • 1.  Clamped Agent

    Posted 08-09-2017 08:54 AM

    Hi everybody,

     

    I've found a couple of agents clamped, how I could fix this situation?



  • 2.  Re: Clamped Agent

    Posted 08-09-2017 09:13 AM

    Can a fellow APM admin or CA Partner help with giving an answer?

    Osvaldo: Can you please provide a screenshot of what you are seeing?



  • 3.  Re: Clamped Agent

    Posted 08-09-2017 09:21 AM

    Actually I can´t, because it is in one of our customers and I've been there yesterday and I won't back till next week, but I saw in the Investigator agent with a red circle arrow.



  • 4.  Re: Clamped Agent
    Best Answer

    Posted 08-09-2017 10:45 AM

    Hi Osvaldo,

    You can try to increase the clamp in the EM/collectors apm-events-thresholds-config.xml

    However, you might want to investigate why you reached the clamp and what is causing the metrics explosion and then fine tune/reduce the agent instrumentation, this is an exercise that you would need to perform, for example

     

    1- disabling automatic entry point detection feature
    introscope.agent.deep.entrypoint.enabled=false

     

    2-disable SmartInstrumentation instrumentation:
    introscope.agent.deep.instrumentation.enabled=false
    introscope.agent.deep.trace.enabled=false

     

    3-reduce/disable JMX collection: set introscope.agent.jmx.enable=false

     

    4-switch from full to typical pbl. The full profile provies greater visibility, but incurs higher overhead. It is recommended as a starting point for qa, staging and development environments

     

    5-Turn off the socket tracers in toggles typical/full pbd file.
    TurnOn: ManagedSocketTracing
    TurnOn: SocketTracing
    TurnOn: NIOSocketTracing
    TurnOn: NIOSocketSummaryTracing
    TurnOn: NIOSelectorTracing
    TurnOn: NIODatagramTracing
    TurnOn: NIODatagramSummaryTracing

     

    6- If you noticed a high # of SQL metrics, disable/ reduce SQL instrumentation:

     

    - Reduce the length of SQL statements. The default maximum length captured by the agent is 999. You can modify this by adding the following line to the IntroscopeAgent.profile file:
    introscope.agent.sqlagent.sql.maxlength=

     

    - Set the following properties available since 9.1:
    introscope.agent.sqlagent.sql.turnoffmetrics=true
    introscope.agent.sqlagent.sql.artonly=true
    introscope.agent.sqlagent.sql.turnofftrace=true

     

    - Use SQLAgent normalization mechanism - see Agent documentation

     

     

    Also, if you need to remove unwanted metrics for the Agent you can always use the SS tool, see
    https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1337681.html
    https://docops.ca.com/ca-apm/10-5/en/administrating/configure-enterprise-manager/configure-and-manage-smartstor-data#ConfigureandManageSmartStorData-UsetheSmartStorCommand-LineTools

     

    I hope this helps,
    Regards,
    Sergio



  • 5.  Re: Clamped Agent

    Posted 08-09-2017 11:33 AM

    Hi Sergio, thanks very much!!



  • 6.  Re: Clamped Agent

    Posted 08-09-2017 11:02 AM

    Dear Osvaldo:
    Was Sergio's response helpful? Did you make any progress when you return to he customer site? Marking as answered since some very good and clear next steps were provided.

     

    However, we want to hear how you made out after making the suggested changes and if you have any followup changes

    Thanks

    Hal German



  • 7.  Re: Clamped Agent

    Posted 08-09-2017 11:34 AM

    Hi German,

     

    I'll investigate the line that Sergio addressed me. Thanks very much!