-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoke-IcingaCheckCPU : Incorrect high % values #404
Comments
Hello, thank you for your issue. This is actually not a bug, but a feature which was introduced with Windows 8 and beyond. The performance counter we use since the latest version of Icinga for Windows, are using the same information as the task manager. How ever, while the task manager simply caps the CPU usage to 100%, the Icinga for Windows plugins print the correct usage. There is a detailed docs entry available from Microsoft The short version: Systems that use Intel Turbo Boost or AMD PBO (Precision Boost Overdrive), will report the current usage different, depending if they are in the boost window and use the boost clock for completing tasks, or if they are working with the base clock. |
The article you mentioned https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/cpu-usage-exceeds-100 says that Task Manager can show more than 100%. But we've never seen more than 100% in Task Manager. In general, our virtualization hosts are not very heavily loaded and Task Manager never provides data on high load. But the plugin shows us some completely unrealistic numbers of 1600%, 1900% (screenshot above). With such mathematics, the values that we indicate in the Critical and Warning thresholds completely lose their meaning. |
I think that in the plugin it is more correct to use the There was a discussion of a similar issue in microsoft/Windows-Dev-Performance: microsoft/Windows-Dev-Performance#78 |
Thank you for the feedback. The We are currently investigating the reported numbers, but as of now it seems the performance counter library of Windows is reporting odd values. While a usage beyond 100% can happen, a 400% load or even higher is not possible. Are you running these Windows machines as virtual machines on ESXi by any chance? |
This issue is observed on both virtual servers and Hyper-V virtualization hosts with Windows Server 2022. |
Hello.
Sometimes Invoke-IcingaCheckCPU shows strange load % data greater than 100%
This behavior has been observed on different systems - on virtual servers with a small number of cores and on physical servers with two sockets and a large number of cores
The text was updated successfully, but these errors were encountered: