Configuring Communication Between the eG Business Transaction Profiler and the eG Agent

You should enable the eG profiler to communicate with the eG agent, so that the profiler can transmit the performance metrics it collects to the agent. For this, you should configure the eG agent with the port at which the Windows service application listens for transaction requests.

The profiler monitoring web-based Windows service applications communicates with the eG agent via port number 14004, by default. Similarly, the profiler monitoring standalone Windows service applications communicates with the eG agent via port 14005, by default.

If you want to override this default port, follow the steps below:

  1. Login to the system hosting the eG agent.

  2. If the agent is monitoring a .NET-based Windows service application (which can either be a web-based or a standalone Windows service application), edit the eg_DotNetServer.ini file (in the <EG_AGENT_INSTALL_DIR>\agent\config directory). On the other hand, if the agent is monitoring a web-based Windows service application running in the .NET Core application framework, edit the eg_CoreclrServer.ini file (in the <EG_AGENT_INSTALL_DIR>\agent\config directory).
  3. If a web-based Windows service application is being monitored, then do the following to change the profiler's listening port:

    • If the target application is .NET-based, then look for the WINDOWS_PORT parameter in the eg_DotNetServer.ini file (in the <EG_AGENT_INSTALL_DIR>\agent\config directory).

    • Change the value of that parameter, and save the file.

    • If the target application is .NET Core-based, then look for the WINDOWS_PORT parameter in the eg_CoreclrServer.ini file (in the <EG_AGENT_INSTALL_DIR>\agent\config directory).

    • Change the value of that parameter, and save the file.

  4. On the other hand, if a standalone Windows service application is being monitored, then do the following to change the profiler's listening port:

    • Look for the WINDOWS_SVC_PORT parameter in the eg_DotNetServer.ini file (in the <EG_AGENT_INSTALL_DIR>\agent\config directory).

    • Change the value of that parameter and save the file.

  5. Finally, restart the eG agent and then the target Windows service - i.e., the Windows service as which the target .NET / .NET Core application is running.