Which Performance Counters are available in each Statistic Level?

vcenter-no-data-availableWhen analysing performance metrics in the vSphere Web Client (Monitor > Performance) or in the vSphere Client (Performance Tab) you might have seen the following messages instead of performance graphs:

"No data available"

"Data is not collected for the current statistics level. Increase the statistics level to view the graph."

Statistic parameters are "Interval Duration" and "Statistics Level". This is what you configure in the vCenter Server settings:
vcenter-statistics-configuration

Interval Duration determines the frequency at which statistics are stores:

  • Realtime (20 seconds), save for 1 hour - not configurable, all metrics available
  • 5 minutes, save for X days
  • 30 minutes, save for X weeks
  • 2 hours, save for X month
  • 1 day, save for X month

Statistic Level determines the amount of data gathered and which counters are available for displayed. The default Level 1 stores the fewest metrics, Level 4 stores all metrics supported by the vCenter Server.

With vSphere 6.0, vCenter Server supports 544 metrics but as there are only 4 statistic levels it is not clear what metrics are included in each level. This post helps to understand what metrics are included in each level, and how you can add single metrics to lower levels. This might be helpful if you need single metrics from level 2, but do not want to activate all level 2 metrics.

Please note that changing the collection level beyond level 1 or adding a large number of data counters to collection level 1, might result in a significant reduced performance.

The number in brackets is the "Per Device Statistic Level" which is typically only available in higher levels. Some metrics are available as aggregated metric and for each device, or object. A descriptive example are datastore metrics. They are available as aggregated metric for the entire host and for individual datastores:
vcenter-per-device-metric

Object Index


ESXi Host performance counters

CategoryLevelDescription
CPU1 (3)Usage (average)
CPU1 (3)Usage in MHz (average)
CPU1 (3)Ready (summation)
CPU2 (3)Reserved capacity (average)
CPU2 (3)Idle (summation)
CPU2 (3)Utilization (average)
CPU2 (3)Core Utilization (average)
CPU2 (3)Total capacity (average)
CPU2 (3)Latency (average)
CPU2 (3)Demand (average)
CPU2 (3)Co-stop (summation)
CPU3Wait (summation)
CPU3Used (summation)
CPU3Swap wait (summation)
CPU4Usage (minimum)
CPU4Usage (maximum)
CPU4Usage in MHz (minimum)
CPU4Usage in MHz (maximum)
CPU4CPU Capacity Provisioned
CPU4CPU Capacity Usage
CPU4CPU Capacity Demand
CPU4CPU Capacity Contention
CPU4CPU Core Count Provisioned
CPU4CPU Core Count Usage
CPU4CPU Core Count Contention
CPU4Utilization (maximum)
CPU4Utilization (minimum)
CPU4Core Utilization (maximum)
CPU4Core Utilization (minimum)
CPU4Readiness (average)
Datastore1 (3)Average read requests per second
Datastore1 (3)Average write requests per second
Datastore1 (3)Read latency
Datastore1 (3)Write latency
Datastore1 (3)Storage I/O Control aggregated IOPS
Datastore1 (3)Storage I/O Control normalized latency
Datastore1 (3)Storage I/O Control active time percentage
Datastore1 (3)Storage DRS datastore read I/O rate
Datastore1 (3)Storage DRS datastore write I/O rate
Datastore1 (3)Storage DRS datastore outstanding read requests
Datastore1 (3)Storage DRS datastore outstanding write requests
Datastore1 (3)Datastore latency observed by VMs
Datastore1 (3)Storage I/O Control datastore maximum queue depth
Datastore2Read rate
Datastore2Write rate
Datastore2Storage DRS datastore bytes read
Datastore2Storage DRS datastore bytes written
Datastore2Storage DRS datastore normalized read latency
Datastore2Storage DRS datastore normalized write latency
Datastore3Highest latency
Datastore4Storage DRS datastore read workload metric
Datastore4Storage DRS datastore write workload metric
Disk1 (3)Usage (average)
Disk1 (3)Highest latency
Disk1 (3)Average read requests per second
Disk1 (3)Average write requests per second
Disk1 (3)Physical device command latency
Disk1 (3)Maximum queue depth
Disk2Disk SCSI Reservation Conflicts
Disk2 (3)Read rate (average)
Disk2 (3)Write rate (average)
Disk2 (3)Commands aborted
Disk2 (3)Bus resets
Disk2 (3)Commands issued
Disk2 (3)Physical device read latency (average)
Disk2 (3)Kernel read latency (average)
Disk2 (3)Read latency (average)
Disk2 (3)Queue read latency (average)
Disk2 (3)Physical device write latency (average)
Disk2 (3)Kernel write latency (average)
Disk2 (3)Write latency (average)
Disk2 (3)Queue write latency (average)
Disk2 (3)Kernel command latency (average)
Disk2 (3)Queue command latency (average)
Disk2 (3)Average commands issued per second
Disk3Read requests
Disk3Write requests
Disk3Command latency (average)
Disk4Usage (minimum)
Disk4Usage (maximum)
Disk4Disk Throughput Usage (average)
Disk4Disk Throughput Contention (average)
Memory1Overhead (average)
Memory1 (3)Usage (average)
Memory1 (3)Swap in rate (average)
Memory1 (3)Swap out rate (average)
Memory1 (3)Balloon (average)
Memory1 (3)Consumed (average)
Memory2 (3)Reserved capacity (average)
Memory2 (3)Granted (average)
Memory2 (3)Active (average)
Memory2 (3)Shared (average)
Memory2 (3)Zero (average)
Memory2 (3)Unreserved (average)
Memory2 (3)Swap used (average)
Memory2 (3)Shared common (average)
Memory2 (3)State (latest)
Memory2 (3)Compressed (average)
Memory2 (3)Compression rate (average)
Memory2 (3)Decompression rate (average)
Memory2 (3)swapIn (average)
Memory2 (3)Swap out (average)
Memory2 (3)Used by VMkernel (average)
Memory2 (3)Active write (average)
Memory2 (3)Total capacity
Memory2 (3)Low free threshold
Memory2 (3)Swap in rate from host cache
Memory2 (3)Swap out rate to host cache
Memory2 (4)Memory Consumed by VMs
Memory2 (4)Memory Consumed by userworlds
Memory4Usage (minimum)
Memory4Usage (maximum)
Memory4Granted (minimum)
Memory4Granted (maximum)
Memory4Active (minimum)
Memory4Active (maximum)
Memory4Shared (minimum)
Memory4Shared (maximum)
Memory4Zero (minimum)
Memory4Zero (maximum)
Memory4Unreserved (minimum)
Memory4Unreserved (maximum)
Memory4Swap used (minimum)
Memory4Swap used (maximum)
Memory4Shared common (minimum)
Memory4Shared common (maximum)
Memory4Heap (average)
Memory4Heap (minimum)
Memory4Heap (maximum)
Memory4Heap free (average)
Memory4Heap free (minimum)
Memory4Heap free (maximum)
Memory4Balloon (minimum)
Memory4Balloon (maximum)
Memory4Consumed (minimum)
Memory4Consumed (maximum)
Memory4Overhead (minimum)
Memory4Overhead (maximum)
Memory4Memory Capacity Provisioned (average)
Memory4Memory Capacity Usable (average)
Memory4Memory Capacity Usage (average)
Memory4Memory Capacity Contention (average)
Memory4Memory Reserved Capacity % (average)
Memory4Swap in (maximum)
Memory4Swap in (minimum)
Memory4Swap out (maximum)
Memory4swapOut (minimum)
Memory4Used by VMkernel (maximum)
Memory4Used by VMkernel (minimum)
Memory4Host cache used for swapping (average)
Memory4Host cache used for swapping (maximum)
Memory4Host cache used for swapping (minimum)
Memory4Swap in from host cache (average)
Memory4Swap in from host cache (maximum)
Memory4Swap in from host cache (minimum)
Memory4Swap out to host cache (average)
Memory4Swap out to host cache (maximum)
Memory4Swap out to host cache (minimum)
Memory4VMFS PB Cache Size (latest)
Memory4Maximum VMFS PB Cache Size (latest)
Memory4VMFS Working Set (latest)
Memory4Maximum VMFS Working Set (latest)
Memory4VMFS PB Cache Overhead (latest)
Memory4VMFS PB Cache Capacity Miss Ratio (latest)
Network1 (3)Usage (average)
Network2 (3)Packets received
Network2 (3)Packets transmitted
Network2 (3)Data receive rate
Network2 (3)Data transmit rate
Network2 (3)Receive packets dropped
Network2 (3)Transmit packets dropped
Network2 (3)Data receive rate
Network2 (3)Data transmit rate
Network2 (3)Broadcast receives
Network2 (3)Broadcast transmits
Network2 (3)Multicast receives
Network2 (3)Multicast transmits
Network2 (3)Packet receive errors
Network2 (3)Packet transmit errors
Network2 (3)Unknown protocol frames
Network3pNic Throughput Usage for VMs
Network3pNic Throughput Usage for NFS
Network3pNic Throughput Usage for vMotion
Network3pNic Throughput Usage for FT
Network3pNic Throughput Usage for iSCSI
Network3pNic Throughput Usage for HBR
Network4Usage (minimum)
Network4Usage (maximum)
Network4Net Throughput Provisioned
Network4Net Throughput Usable
Network4Net Throughput Usage
Network4Net Throughput Contention
Network4pNic Packets Received and Transmitted per Second
Power2 (3)Usage
Power3Cap
Power3Energy usage
Power4Host Power Capacity Provisioned
Power4Host Power Capacity Usable
Power4Host Power Capacity Usage
Resource group CPU3Active (1 min average)
Resource group CPU3Active (1 min peak)
Resource group CPU3Running (1 min average)
Resource group CPU3Active (5 min average)
Resource group CPU3Active (5 min peak)
Resource group CPU3Running (5 min average)
Resource group CPU3Active (15 min average)
Resource group CPU3Active (15 min peak)
Resource group CPU3Running (15 min average)
Resource group CPU3Running (1 min peak)
Resource group CPU3Throttled (1 min average)
Resource group CPU3Running (5 min peak)
Resource group CPU3Throttled (5 min average)
Resource group CPU3Running (15 min peak)
Resource group CPU3Throttled (15 min average)
Resource group CPU3Group CPU sample count
Resource group CPU3Group CPU sample period
Storage adapter2Average commands issued per second
Storage adapter2Average read requests per second
Storage adapter2Average write requests per second
Storage adapter2Read rate
Storage adapter2Write rate
Storage adapter2Read latency
Storage adapter2Write latency
Storage adapter2Storage Adapter Outstanding I/Os
Storage adapter2Storage Adapter Number Queued
Storage adapter2Storage Adapter Queue Depth
Storage adapter2Storage Adapter Queue Command Latency
Storage adapter3Highest latency
Storage adapter4Storage Adapter Throughput Contention
Storage adapter4Storage Adapter Outstanding I/Os
Storage adapter4Storage Adapter Throughput Usage
Storage path2 (3)Storage Path Bus Resets
Storage path2 (3)Storage Path Command Terminations
Storage path3Highest latency
Storage path3Average commands issued per second
Storage path3Average read requests per second
Storage path3Average write requests per second
Storage path3Read rate
Storage path3Write rate
Storage path3Read latency
Storage path3Write latency
Storage path4Storage Path Throughput Contention
Storage path4Storage Path Throughput Usage
System1 (3)Uptime
System3Resource CPU usage (Average)
System3Resource memory touched
System3Resource memory mapped
System3Resource memory share saved
System3Resource memory swapped
System3Resource memory overhead
System3Resource memory shared
System3Resource memory zero
System3Resource CPU running (1 min. average)
System3Resource CPU active (1 min average)
System3Resource CPU maximum limited (1 min)
System3Resource CPU running (5 min average)
System3Resource CPU active (5 min average)
System3Resource CPU maximum limited (5 min)
System3Resource CPU allocation minimum (in MHz)
System3Resource CPU allocation shares
System3Resource memory allocation minimum (in KB)
System3Resource memory allocation maximum (in KB)
System3Resource memory allocation shares
System4Resource CPU usage (Maximum)
System4Resource CPU usage (Minimum)
System4Resource memory consumed
System4File descriptors used
Virtual flash module related statistical values4Number of caches controlled by the virtual flash module
vSphere Replication4vSphere Replication VM Count
vSphere Replication4Replication Data Receive Rate
vSphere Replication4Replication Data Transmit Rate


Virtual Machine performance counters

CategoryLevelDescription
CPU1 (3)Ready
CPU1 (3)Usage (average)
CPU1 (3)Usage in MHz (average)
CPU2 (3)Co-stop
CPU2 (3)Demand
CPU2 (3)Entitlement (latest)
CPU2 (3)Idle
CPU2 (3)Latency
CPU2 (3)Max limited
CPU2 (3)Run
CPU3Overlap
CPU3Swap wait
CPU3System
CPU3Used
CPU3Wait
CPU4CPU Capacity Contention
CPU4CPU Capacity Demand
CPU4CPU Capacity Entitlement
CPU4CPU Capacity Usage
CPU4CPU Core Count Contention
CPU4CPU Core Count Provisioned
CPU4Demand-to-entitlement ratio
CPU4Readiness
CPU4Usage (minimum)
CPU4Usage (maximum)
CPU4Usage in MHz (minimum)
CPU4Usage in MHz (maximum)
Datastore1 (3)Average read requests per second
Datastore1 (3)Average write requests per second
Datastore1 (3)Read latency
Datastore1 (3)Write latency
Datastore2Read rate
Datastore2Write rate (average)
Datastore3Highest latency
Disk1Space actually used
Disk1Space not shared
Disk1Space potentially used
Disk1 (3)Average read requests per second
Disk1 (3)Average write requests per second
Disk1 (3)Highest latency
Disk1 (3)Usage (average)
Disk2Disk SCSI Reservation Conflicts
Disk2 (3)Average commands issued per second
Disk2 (3)Bus resets
Disk2 (3)Commands aborted
Disk2 (3)Commands issued
Disk2 (3)Read rate
Disk2 (3)Write rate (average)
Disk3Read requests
Disk3Write requests
Disk4Disk SCSI Reservation Conflicts %
Disk4Disk Throughput Contention
Disk4Disk Throughput Usage
Disk4Usage (minimum)
Disk4Usage (maximum)
Memory1Overhead (average)
Memory1 (3)Balloon (average)
Memory1 (3)Consumed (average)
Memory1 (3)Swap in rate
Memory1 (3)Swap out rate
Memory1 (3)Usage (average)
Memory2 (3)Active (average)
Memory2 (3)Active write
Memory2 (3)Balloon target (average)
Memory2 (3)Compressed
Memory2 (3)Compression rate
Memory2 (3)Decompression rate
Memory2 (3)Entitlement (average)
Memory2 (3)Granted (average)
Memory2 (3)Latency
Memory2 (3)Memory saved by zipping
Memory2 (3)Reserved overhead
Memory2 (3)Shared (average)
Memory2 (3)Swap in rate from host cache
Memory2 (3)Swap out (average)
Memory2 (3)Swap out rate to host cache
Memory2 (3)Swap target (average)
Memory2 (3)swapIn
Memory2 (3)Swapped (average)
Memory2 (3)Zero (average)
Memory2 (3)Zipped memory
Memory4Active (minimum)
Memory4Active (maximum)
Memory4Balloon (minimum)
Memory4Balloon (maximum)
Memory4Balloon target (minimum)
Memory4Balloon target (maximum)
Memory4Consumed (minimum)
Memory4Consumed (maximum)
Memory4Granted (minimum)
Memory4Granted (maximum)
Memory4Host cache used for swapping (average)
Memory4Host cache used for swapping (maximum)
Memory4Host cache used for swapping (minimum)
Memory4Memory Capacity Contention
Memory4Memory Capacity Entitlement
Memory4Memory Capacity Provisioned
Memory4Memory Capacity Usage
Memory4Overhead (minimum)
Memory4Overhead (maximum)
Memory4Overhead touched
Memory4Shared (minimum)
Memory4Shared (maximum)
Memory4Swap in (maximum)
Memory4Swap in (minimum)
Memory4Swap out (maximum)
Memory4Swap target (minimum)
Memory4Swap target (maximum)
Memory4swapOut
Memory4Swapped (minimum)
Memory4Swapped (maximum)
Memory4Usage (minimum)
Memory4Usage (maximum)
Memory4Zero (minimum)
Memory4Zero (maximum)
Network4Net Throughput Contention
Network4Net Throughput Usage
Power2 (3)Usage (average)
Power3Energy usage
Power4Host Power Capacity Usage
Resource group CPU3Active (1 min average)
Resource group CPU3Active (1 min peak)
Resource group CPU3Active (15 min average)
Resource group CPU3Active (15 min peak)
Resource group CPU3Active (5 min average)
Resource group CPU3Active (5 min peak)
Resource group CPU3Group CPU sample count
Resource group CPU3Group CPU sample period
Resource group CPU3Running (1 min average)
Resource group CPU3Running (1 min peak)
Resource group CPU3Running (15 min average)
Resource group CPU3Running (15 min peak)
Resource group CPU3Running (5 min average)
Resource group CPU3Running (5 min peak)
Resource group CPU3Throttled (1 min average)
Resource group CPU3Throttled (15 min average)
Resource group CPU3Throttled (5 min average)
System1 (3)Uptime
System4Heartbeat
Virtual disk1 (3)Average read requests per second
Virtual disk1 (3)Average write requests per second
Virtual disk1 (3)Read latency
Virtual disk1 (3)Write latency
Virtual disk2Average number of outstanding read requests
Virtual disk2Average number of outstanding write requests
Virtual disk2Read rate
Virtual disk2Read workload metric
Virtual disk2Write rate (average)
Virtual disk2Write workload metric
Virtual disk2 (4)Virtual Disk Number of Resets
Virtual disk2 (4)Virtual Disk Number of Terminations
Virtual disk4Number of large seeks
Virtual disk4Number of medium seeks
Virtual disk4Number of small seeks
Virtual disk4Read Latency (us)
Virtual disk4Read request size
Virtual disk4Virtual Disk Throughput Contention
Virtual disk4Virtual Disk Throughput Usage
Virtual disk4Write Latency (us)
Virtual disk4Write request size


Cluster performance counters

CategoryLevelDescription
CPU1 (3)Usage (average)
CPU1 (3)Usage in MHz (average)
CPU2 (3)Reserved capacity (average)
CPU4CPU Capacity Contention (average)
CPU4CPU Capacity Demand (average)
CPU4CPU Capacity Provisioned (average)
CPU4CPU Capacity Usage (average)
CPU4CPU Core Count Contention (average)
CPU4CPU Core Count Provisioned (average)
CPU4CPU Core Count Usage (average)
CPU4Usage (maximum)
CPU4Usage (minimum)
CPU4Usage in MHz (maximum)
CPU4Usage in MHz (minimum)
Disk4Disk Throughput Contention (average)
Disk4Disk Throughput Usage (average)
Memory1Overhead (average)
Memory1 (3)Consumed (average)
Memory1 (3)Usage (average)
Memory1 (3)Balloon (average)
Memory2 (3)Active (average)
Memory2 (3)Compressed (average)
Memory2 (3)Compression rate (average)
Memory2 (3)Decompression rate (average)
Memory2 (3)Granted (average)
Memory2 (3)Reserved capacity (average)
Memory2 (3)Shared (average)
Memory2 (3)Swap used (average)
Memory2 (3)Zero (average)
Memory4Active (maximum)
Memory4Active (minimum)
Memory4Memory Capacity Contention (average)
Memory4Memory Capacity Entitlement (average)
Memory4Memory Capacity Provisioned (average)
Memory4Memory Capacity Usable (average)
Memory4Memory Capacity Usage (average)
Memory4Consumed (maximum)
Memory4Consumed (minimum)
Memory4Granted (maximum)
Memory4Granted (minimum)
Memory4Overhead (maximum)
Memory4Overhead (minimum)
Memory4Shared (maximum)
Memory4Shared (minimum)
Memory4Swap used (maximum)
Memory4Swap used (minimum)
Memory4Usage (maximum)
Memory4Usage (minimum)
Memory4Balloon (maximum)
Memory4Balloon (minimum)
Memory4Zero (maximum)
Memory4Zero (minimum)
Network4Net Throughput Contention (summation)
Network4Net Throughput Provisioned (average)
Network4Net Throughput Usable (average)
Network4Net Throughput Usage (average)
Power2 (3)Usage (average)
Power3Energy usage (summation)
Power3Cap (average)
Virtual machine operations1 (3)VM datastore change count (non-powered-on VMs)
Virtual machine operations1 (3)VM host change count (non-powered-on VMs)
Virtual machine operations1 (3)VM host and datastore change count (non-powered-on VMs)
Virtual machine operations1 (3)VM clone count
Virtual machine operations1 (3)VM create count
Virtual machine operations1 (3)VM template deploy count
Virtual machine operations1 (3)VM delete count
Virtual machine operations1 (3)VM power off count
Virtual machine operations1 (3)VM power on count
Virtual machine operations1 (3)VM guest reboot count
Virtual machine operations1 (3)VM reconfigure count
Virtual machine operations1 (3)VM register count
Virtual machine operations1 (3)VM reset count
Virtual machine operations1 (3)VM guest shutdown count
Virtual machine operations1 (3)VM standby guest count
Virtual machine operations1 (3)VM suspend count
Virtual machine operations1 (3)Storage vMotion count
Virtual machine operations1 (3)VM unregister count
Virtual machine operations1 (3)vMotion count
Virtual machine operations1 (3)VM host and datastore change count (powered-on VMs)


Datacenter performance counters

CategoryLevelDescription
Virtual machine operations1 (3)VM power on count
Virtual machine operations1 (3)VM power off count
Virtual machine operations1 (3)VM suspend count
Virtual machine operations1 (3)VM reset count
Virtual machine operations1 (3)VM guest reboot count
Virtual machine operations1 (3)VM standby guest count
Virtual machine operations1 (3)VM guest shutdown count
Virtual machine operations1 (3)VM create count
Virtual machine operations1 (3)VM delete count
Virtual machine operations1 (3)VM register count
Virtual machine operations1 (3)VM unregister count
Virtual machine operations1 (3)VM reconfigure count
Virtual machine operations1 (3)VM clone count
Virtual machine operations1 (3)VM template deploy count
Virtual machine operations1 (3)VM host change count (non-powered-on VMs)
Virtual machine operations1 (3)VM datastore change count (non-powered-on VMs)
Virtual machine operations1 (3)VM host and datastore change count (non-powered-on VMs)
Virtual machine operations1 (3)vMotion count
Virtual machine operations1 (3)Storage vMotion count
Virtual machine operations1 (3)VM host and datastore change count (powered-on VMs)


Resource Pool performance counters

CategoryLevelDescription
CPU1 (3)Usage in MHz
CPU2 (3)Worst case allocation
CPU4Usage in MHz
CPU4Usage in MHz
CPU4CPU Capacity Entitlement
CPU4CPU Capacity Usage
CPU4CPU Capacity Demand
CPU4CPU Capacity Contention
CPU4CPU Core Count Provisioned
CPU4CPU Core Count Contention
Disk4Disk Throughput Usage
Disk4Disk Throughput Contention
Memory1Overhead (average)
Memory1 (3)Consumed (average)
Memory1 (3)Balloon (average)
Memory2 (3)Worst case allocation
Memory2 (3)Granted (average)
Memory2 (3)Active (average)
Memory2 (3)Shared (average)
Memory2 (3)Zero (average)
Memory2 (3)Swapped (average)
Memory2 (3)Compressed
Memory2 (3)Compression rate
Memory2 (3)Decompression rate
Memory4Memory Capacity Provisioned
Memory4Memory Capacity Entitlement
Memory4Memory Capacity Usage
Memory4Memory Capacity Contention
Memory4Overhead (minimum)
Memory4Consumed (minimum)
Memory4Granted (minimum)
Memory4Active (minimum)
Memory4Shared (minimum)
Memory4Zero (minimum)
Memory4Swapped (minimum)
Memory4Balloon (minimum)
Memory4Overhead (maximum)
Memory4Consumed (maximum)
Memory4Granted (maximum)
Memory4Active (maximum)
Memory4Shared (maximum)
Memory4Zero (maximum)
Memory4Swapped (maximum)
Memory4Balloon (maximum)
Network4Net Throughput Usage
Network4Net Throughput Contention
Power2 (3)Usage
Power3Energy usage


Datastore performance counters

CategoryLevelDescription
Datastore1 (3)Average read requests per second
Datastore1 (3)Average write requests per second
Datastore2Read rate
Datastore2Write rate
Datastore4usage
Datastore4contention
Disk1Space actually used
Disk1Space potentially used
Disk1Space not shared
Disk1 (3)Capacity
Disk4provisioned
Disk4usage
Disk4contention

Change collection level for metrics

  1. Download and unzip LevelMappingUtility.zip (Also available in KB2009532 from VMware). The archive contains the required Power CLI functions in VMware.VimAutomation.PowerCliExtensions.CounterLevelMapping.psm1
  2. Open PowerCLI and import the module
  3. PS> Import-Module VMware.VimAutomation.PowerCliExtensions.CounterLevelMapping.psm1
  4. Identify the counter you want to change (Full list here). In this example I am going to map all CPU Usage graphs to level 1. The counter for CPU Usage is cpu.usage.*
  5. Verify the current configuration:
    PS> Get-PxCounterLevelMapping | where { $_.Name -like "cpu.usage.*" }
    
    Name                AggregateLevel      PerDeviceLevel
    ----                --------------      --------------
    cpu.usage.none      4                   4
    cpu.usage.average   1                   3
    cpu.usage.minimum   4                   4
    cpu.usage.maximum   4                   4
    
  6. Map the counters to Level 1
    PS> Get-PxCounterLevelMapping | where { $_.Name -like "cpu.usage.*" } | Set-PxCounterLevelMapping -AggregateLevel 1 -PerDeviceLevel 1
  7. All CPU Usage counters are now available in Statistic Level 1

You can reset counters to thir default with the -Reset option:

PS> Get-PxCounterLevelMapping | where { $_.Name -like "cpu.usage.*" } | Set-PxCounterLevelMapping -Reset

 

 

  1. Hi,

    Thank you for this nice summary. Your bullet list titled Object Index has an incorrect hyperlink for the "Virtual Machine" item. It redirects to a table titled "Datastore performance counters". It seems that perhaps you did not add the table for Virtual Machine?

    I came upon your post because I have a perl script that queries VMs for their CPU metrics. I have one vCenter that is 5.1 and a second vCenter which is 5.5. They are both set to Level 1 stats - YET - the script enumerates many more metrics from the 5.1 version of vCenter than the 5.5 version - which I cannot explain.

    Thank you!

    Amir

  2. Hi,

    I am using Level mapping utility for vCenter Server Appliance 6 and in my home lab I brought all the counters to level 2 i.e. AggregateLevel and perdevicelevel however still few counters are not showing data

    I have any older vCenter 5.5 enviornment in which it works fine

    Any suggestions

    Thanks

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>