DX Application Performance Management

Expand all | Collapse all

SPS Tomcat APM Instrumentation

Jump to Best Answer
  • 1.  SPS Tomcat APM Instrumentation

     
    Posted 06-28-2018 11:59 AM

    Hi all,

    does anyone have any experience about monitoring SPS Tomcat with our Java Agent?

    We are working to insert the javaagent string in the SmSpsProxyEngine.properties file, but we are having problems during the Tomcat boot.

    Any suggestions?

    In the same time, we are monitoring the SPS with the remote EPAgent through the network data port (WilyMetricReporter has been activated in SPS Server.Conf) without problems.

     

    Thank You



  • 2.  Re: SPS Tomcat APM Instrumentation

    Posted 06-28-2018 02:24 PM

    You have  to use java  string in sps-ctl script or any other script which is starting you SPS tomcat instance.



  • 3.  Re: SPS Tomcat APM Instrumentation

     
    Posted 06-29-2018 04:43 AM

    Thank You Junadwily,

    we are trying to insert  the java string in the following configuration file, (NETE_SPS_PROXYENGINE_CMD row), but we have problem at the startup

     


    // Netegrity Proxy Engine properties configuration file:

    // Additional notes on this properties file:
    //
    // Single or double quotes are optional around values.
    //
    // Parameters (set in this file) are case sensitive and must be
    // lowercase as initially provided below.
    //
    // File paths and names can be entered with forward slashes on
    // both Unix and Windows. If backslashes are used on Windows,
    // then they must be DOUBLE backslashes. Single backslashes
    // will not work properly and the file may be misplaced.
    //
    // Comments (lines starting with "//") may be used to save
    // parameter settings that are currently not in use
    // [Default: xx] indicates what value the property will have if
    // it is not specified in this file


    // *****************************************************************************
    // Section 1: Environment Variables (Windows platforms only)
    // *****************************************************************************
    NETE_SPS_ROOT=E:\CA\Agent-for-SharePoint
    NETE_SPS_JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_79
    NETE_SPS_TOMCAT_HOME=%NETE_SPS_ROOT%\Tomcat
    Path=%NETE_SPS_JAVA_HOME%\jre\bin;C:\Windows\SysWOW64;C:\Windows;%NETE_SPS_ROOT%\agentframework\bin
    IWACONFIGHOME=%NETE_SPS_ROOT%\proxy-engine\conf\sts-config\globalconfig

    //set path for agent logging config file
    //Uncomment this path when multiple instances of the STS are deployed

    //STS_AGENT_LOG_CONFIG_FILE=%NETE_SPS_ROOT%\proxy-engine\conf\sts-config\globalconfig\agent-multiinstance-log4j.xml
    STS_AGENT_LOG_CONFIG_FILE=

    // *****************************************************************************
    // Section 2: JVM Startup Options (Windows platforms only)
    // *****************************************************************************
    NETE_SPS_PROXYENGINE_CMD="%NETE_SPS_JAVA_HOME%\bin\java.exe" -Xms512m -Xmx1024m -XX:MaxPermSize=256M -Dcatalina.base="%NETE_SPS_TOMCAT_HOME%" -Dcatalina.home="%NETE_SPS_TOMCAT_HOME%" -Djava.endorsed.dirs="%NETE_SPS_TOMCAT_HOME%\endorsed" -Djava.io.tmpdir="%NETE_SPS_TOMCAT_HOME%\temp" -DHTTPClient.log.mask=0 -DHTTPClient.Modules="HTTPClient.RetryModule|org.tigris.noodle.NoodleCookieModule|HTTPClient.DefaultModule" -Dlogger.properties="%NETE_SPS_TOMCAT_HOME%/properties/logger.properties" -DSM_AGENT_LOG_CONFIG="%STS_AGENT_LOG_CONFIG_FILE%" -DIWACONFIGHOME="%IWACONFIGHOME%" -classpath "%NETE_SPS_TOMCAT_HOME%\bin\proxybootstrap.jar;%NETE_SPS_TOMCAT_HOME%\properties;%NETE_SPS_JAVA_HOME%\lib\tools.jar;%NETE_SPS_TOMCAT_HOME%\bin\bootstrap.jar;%NETE_SPS_ROOT%\resources;%NETE_SPS_ROOT%\agentframework\java\cryptoj.jar" com.netegrity.proxy.ProxyBootstrap -config "%NETE_SPS_ROOT%/proxy-engine/conf/server.conf"
    NETE_SPS_PROXYENGINE_CMD_STOP="%NETE_SPS_JAVA_HOME%\bin\java.exe" -Dcatalina.base="%NETE_SPS_TOMCAT_HOME%" -Dcatalina.home="%NETE_SPS_TOMCAT_HOME%" -Djava.endorsed.dirs="%NETE_SPS_TOMCAT_HOME%\endorsed" -Djava.io.tmpdir="%NETE_SPS_TOMCAT_HOME%\temp" -DHTTPClient.log.mask=0 -DHTTPClient.Modules="HTTPClient.RetryModule|org.tigris.noodle.NoodleCookieModule|HTTPClient.DefaultModule" -classpath "%NETE_SPS_TOMCAT_HOME%\bin\proxybootstrap.jar;%NETE_SPS_TOMCAT_HOME%\properties;%NETE_SPS_JAVA_HOME%\lib\tools.jar;%NETE_SPS_TOMCAT_HOME%\bin\bootstrap.jar;%NETE_SPS_ROOT%\resources" com.netegrity.proxy.ProxyBootstrap -config "%NETE_SPS_ROOT%/proxy-engine/conf/server.conf" -stop



  • 4.  Re: SPS Tomcat APM Instrumentation
    Best Answer

    Posted 06-28-2018 06:34 PM

    Hi Marco,

    There are various monitoring options for the SiteMinder Policy Server (SPS) and this KB by SergioMorales has a good summary: Comparison of APM Siteminder solutions - CA Knowledge 

    However the first 2 options "CA APM for SiteMinder Application Server Agent" and "SiteMinder SNMP Collector" are only available in 10.2 and earlier releases:

    SiteMinder Application Server - CA Application Performance Management - 10.2 - CA Technologies Documentation 

    SiteMinder SNMP Collector - CA Application Performance Management - 10.2 - CA Technologies Documentation 

     

    As you see normally the EPAgent is used to monitor the actual Tomcat Server and it is not common to implement the APM Tomcat Java Agent, although I suppose there is nothing stopping you from trying it

     

    For the actual SPS metrics CA APM for SSO (formerly CA Wily Manager for SiteMinder) is the most extensive solution but comes at extra cost.

    CA APM for CA SSO - Home - CA APM for CA SSO - 13.1 - CA Technologies Documentation 

     

    Hope that helps

     

    Regards,

     

    Lynn



  • 5.  Re: SPS Tomcat APM Instrumentation

     
    Posted 06-29-2018 04:38 AM

    Thank You Linn,

    we are already using with success CA AMP for CA SSO 13.1 on this environment, but customer is asking us a specific SPS Tomcat java monitoring.

     

    Regards,

    Marco



  • 6.  Re: SPS Tomcat APM Instrumentation

    Posted 07-03-2018 10:25 AM