Communication between the eG Agent and the eG VM Agent

At the time of the installation of the eG VM agent, a folder named eGVMAgent is created in the install destination specified. The setup program also creates a Windows Service named eGVMAgent on the Windows VM. This service must be running for the eG agent to obtain the inside view of the virtual machine.

Upon successful installation, the eG VM agent starts automatically and begins listening for requests at default TCP port 60001. However, if, during the installation process, you have configured a different port for the eG VM agent, then, after completing the installation, follow the steps below to make sure that the eG agent communicates with the eG VM agent via the port that you have configured:

  • Login to the eG manager host.

  • Edit the eg_tests.ini file in the <eg_install_dir>\manager\config directory.

  • The WmiInsideViewPort parameter in the [agent_settings] section of the file is set to 60001 by default. If the eG VM agent’s port is changed at the time of installation, then you will have to ensure that this parameter reflects the new port. Therefore, change the default port specification accordingly.

  • Save the file.

Figure 1below describes how the eG agent pulls inside view metrics from the eG VM Agent.

Figure 1 : eG  Agent - eG VM Agent communication

The eG VM Agent is bundled with the commands and executables necessary for capturing inside view metrics. Every time the eG agent on the root / parent partition runs an 'inside view' test, it connects with the eG VM Agent on each VM and communicates the test for which it requires metrics. The eG VM Agent then intelligently determines the commands/exes it should run to collect metrics for that test, and runs the corresponding commands/exes on every VM. Once the metrics are collected, the eG agent then pulls the metrics from the eG VM Agent on each VM and reports them to the eG manager.