DX Application Performance Management

 View Only
  • 1.  Run Agent with seperate script

    Posted Feb 18, 2020 03:56 PM
    I have a request where app owner doesn't want to touch their app startup script. they want me to create a seperate script so they can start and stop agent when they start their application. 
    does anyone try it before? I am thinking to create one script startagent.sh and put following parameters in it

    JVM_OPTS="-javaagent:/AgentHOME/wily/Agent.jar -Dcom.wily.introscope.agent.agentName=AgentName -Dcom.wily.introscope.agentProfile=Agent_HOME/wily/core/config/IntroscopeAgent.profile"

    export JVM_OPTS

    Does anyone try it before? Do you think it is a good idea to do this way. Any suggestion, comments, concerns etc?

    ------------------------------
    Business Solutions Analyst III
    ------------------------------


  • 2.  RE: Run Agent with seperate script
    Best Answer

    Broadcom Employee
    Posted Feb 21, 2020 09:26 AM
    Hi Junaid, 

    APM instroscope Java and .NET agents are invoked automatically via Application Server JVM or IIS/.NET application CLR runtime. They cannot be run as
    separate services or process. Cannot be stop nor start out side of Applications. 

    Thanks,
    Yanna