Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Virtualization Manager (VMAN) > 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
06:05, 27 Sep 2017

Tags

Classifications

Public