How to Disable Remote Agent Connections to VMs?

By default, the eG remote agent polls each eG VM Agent at configured intervals, for the following purposes:

  • To determine the Operating System of each VM;

  • To track user logins to each virtual desktop (in case of VDI environments);

  • For pulling inside view metrics from the corresponding VMs.

Some environments however, may not want to obtain the 'inside view' of VMs. In such environments, administrators may choose to disable the 'inside view' tests. However, even after the tests are disabled, the eG remote agent will continue to poll each eG VM Agent for determining the VM OS and user activity.

To stop the eG remote agent from communicating with the eG VM Agent, you need to disable remote agent - VM agent communication. For this, you have to do the following:

  1. Login to the system hosting the eG remote agent.

  2. Edit the eg_tests.ini file in the <EG_AGENT_INSTALL_DIR>\agent\config directory (on Windows; on Unix, this will be the /opt/egurkha/agent/config/ directory).

  3. Set the InsideviewEnabled flag in the [AGENT_SETTINGS] section of the file to No. This flag is set to Yes by default.

  4. Finally, save the file.