VCF Operations report shows negative value for CPU Min metrics on few Physical Server
search cancel

VCF Operations report shows negative value for CPU Min metrics on few Physical Server

book

Article ID: 444994

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • The Telegraf agent is reporting negative 'CPU Min' values for monitored Windows physical servers in VCF Operations.
  • "CPU Min" metrics derivation is as follows:



Environment

VCF Operations 9.x
Aria Operations 8.18.x

Cause

The negative values observed in the CPU Min metrics are the result of a known issue within Windows Performance Monitor (PerfMon).
This behavior occurs due to a cosmetic and mathematical bug in the Windows Performance Data Helper (PDH) library, which can cause values to display as negative numbers or wrap around to numbers close to 4,294,967,295 (MAXUINT32).

https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/manually-rebuild-performance-counters

Resolution

To resolve the underlying Windows operating system metric reporting errors, the corrupted performance counter libraries must be cleared and rebuilt on the affected Windows Server.

Execution Steps:

  1. Access the Windows Server utilizing an account with local Administrator privileges.

  2. Launch an elevated Command Prompt (cmd.exe run as Administrator).

  3. Execute the following sequential diagnostic commands to force synchronization and reload counter definitions:

    lodctr /R
    winmgmt /resyncperf

  4. Restart the "Application Monitoring Telegraf" service on the Windows server to begin collecting the freshly rebuilt, accurate metrics.