Submit a ticketCall us

WebinarUpcoming Webinar: Know What’s Changed – with NEW Server Configuration Monitor

Change management in IT is critical. But, even with a good change management process, changes are too often not correctly tracked, if at all. The configuration of your servers and applications is a key factor in their performance, availability, and security. Many incidents can be tracked back to an authorized (and sometimes unauthorized) configuration change, whether to a system file, configuration file, or Windows® Registry entry. Join SolarWinds VP of product management Brandon Shopp to discover how the new SolarWinds® Server Configuration Monitor is designed to help you.

Register now.

Home > Success Center > Virtualization Manager (VMAN) > VMAN - Knowledgebase Articles > Inconsistent polling of CPU and Memory usage on ESXi hosts

Inconsistent polling of CPU and Memory usage on ESXi hosts

Overview

This article describes the issue about IVIM not being able to consistently get the CPU and Memory usage of ESXi hosts.

Environment

  • NPM version 11.5.x
  • VMware version 6.0

Resolution

To change the limitation for performance charts, you must perform two tasks:

  • Edit the config.vpxd.stats.maxQueryMetrics key in the Advanced Settings of the vCenter Server, or vCenter Server Appliance.
  • Edit the web.xml file.

 

Change the config.vpxd.stats.maxQueryMetrics key:

  1. In a Web browser, log in to vSphere Web Client.
  2. Navigate to a vCenter Server and click Manage.
  3. On the Settings tab, click Advanced Settings.
  4. On the Advanced vCenter Server Setting page, click Edit.
  5. Navigate to the config.vpxd.stats.maxQueryMetrics key and change the value.

    Note: If this is the first time you edit the key, you cannot see it in the list of advanced vCenter Server settings.
     
  6. Enter the name of the key and its value, and then click Add.

    The default value is 64. To disable the limit, set a value to -1.

 
Edit the web.xml File for vCenter Server and vCenter Server Appliance:
  1. Navigate to the web.xml file:
    • For vCenter Server Appliance 6.0.x, open /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF.
    • For vCenter Server Appliance 5.5.x , open /usr/lib/vmware-vpx/tomcat/webapps/statsreport/WEB-INF/web.xml.
    • For vCenter Server 6.0.x, open C:\ProgramData\VMware\vCenterServer\data\perfcharts\tc-instance\webapps\statsreport\WEB-INF.
    • For vCenter Server 5.5.x, open C:\Program Files\VMware\Infrastructure\Tomcat\webapps\statsreport\WEB-INF.
  2. Open the web.xml file using a text editor.
  3. Find the maxQuerySize parameter and change the value in the <param-value> tag. To disable the limit, set a value 0:
    <context-param>
    <description>Specify the maximum query size (number of metrics)for a single report. Non-positive values are ignored.</description>
    <param-name>maxQuerySize</param-name>
    <param-value>64</param-value>
    </context-param>
  4. Save and close the web.xml file.
  5. In the vSphere Web Client, restart the VMware Performance Chart Service.

For reference:

http://kb.vmware.com/selfservice/mic...rnalId=2107096 (© 2017 VMware, Inc., available at https://www.vmware.com/, obtained on September 27, 2017).

 

Last modified

Tags

Classifications

Public