Some VMware environments have a large amount of VMware Tags and/or a large number of tags per object in the vSphere inventory. This causes delays in the Inventory and Relations collection and also increases the demand for JVM heap memory in both the Management Server as well as the Agent Manager.
This collection was introduced as a new feature (VM-6422) in the VMware Cartridge version 5.8.3. This cartridge was shipped with Foglight for Virtualization, Enterprise Edition 8.9.3/ Foglight Evolve 9.3.
To disable the VMware Tag collection, update the script below with the name of the affected VMwarePerformance agent.
agentName = "vcenter.example.local"; // update this line
agentService = server.get("AgentService");
configService = server.get("ConfigService");
def setAspParams(agents, aspName, aspValue) {
for (agent in agents) {
def primaryASP = configService.getAgentInstancePrimaryAsp(agent.getAgentNamespace(), agent.getTypeId(), agent.getId());
primaryASP.setValueByString(aspName, aspValue);
configService.saveConfig(primaryASP);
}
}
def agents = agentService.findByName(agentName);
if (agents.size() ==0)
return "Agent not found";
setAspParams(agents, "disabledTagCollection", "true");
return true;
Additional Info:
Issue FOG-2822 has been fixed in Evolve 6.1.0. It is recommended to upgrade to this version.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center