DX Application Performance Management

  • 1.  Can you change the displayed hostname for the NodeJS Collector Agent?

    Posted Jan 25, 2018 09:19 AM

    We have a Node JS Collector agent set up behind a Stingray, and unfortunately Wily displays the Stringray's hostname as the hostname for the Collector agent instead of the actual host's name.  I've tried these two methods (taken from java agent config) but they don't work.  Is there a way to do this with the Node JS collector agent?

     

    startup arg:
    -Dintroscope.agent.hostName=desired_hostname

     

    profile arg:
    introscope.agent.hostName=desired_hostname



  • 2.  Re: Can you change the displayed hostname for the NodeJS Collector Agent?

    Broadcom Employee
    Posted Jan 25, 2018 10:34 AM

    Dear Team:

       Can you suggest a next step for Sam?

    Thanks 

    Hal German



  • 3.  Re: Can you change the displayed hostname for the NodeJS Collector Agent?
    Best Answer

    Broadcom Employee
    Posted Jan 26, 2018 11:14 AM

    Dear Sam:

      I see no responses and asked internally. Please consider opening a case to pursue. If a solution is found, please share here to help others that may have teh same issue

     

    Thanks

    Hal German



  • 4.  Re: Can you change the displayed hostname for the NodeJS Collector Agent?

    Posted Jan 30, 2018 01:57 PM

    Make sure the following property you are using in the proper manner. 

    I verify we are using the same property and it is showing the desired hostname.

    "introscope.agent.hostName=desired_agentname"

     

    you can also try to change the agent name just of an experiment.

     

    both of these property should work in start up or in profile file.

     

    introscope.agent.agentName=desired_agentname
    introscope.agent.hostName=desired_agentname

     

    This is a sample of our jvm arguments to invoke the agent.

     

     "-javaagent:${WILY_HOME}/Agent.jar -Dcom.wily.introscope.agentProfile=${WILY_HOME}/core/config/IntroscopeAgent.profile -Dcom.wily.introscope.agent.agentName=desired_agentName -Dintroscope.agent.hostName=desired_hostName"