Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up 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

Created by Jellouie Maligalig, last modified by MindTouch on Jun 23, 2016

Views: 512 Votes: 0 Revisions: 3

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 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

 

Last modified
04:10, 23 Jun 2016

Tags

Classifications

Public