sensu-plugins-windows
sensu-plugins-windows copied to clipboard
check-windows-cpu-load: Get-Counter : Internal performance counter API call failed. Error: c0000bb8
Hi
Unfortunately, the following error message appears under Windows Server 2019 in the plugin check-windows-cpu-load:
outputGet-Counter : Internal performance counter API call failed. Error: c0000bb8. At C:\opt\sensu\plugins\powershell\check-windows-cpu-load.ps1:48 char:32
- ... th]::Round((Get-Counter "$localizedCategoryName(_total)$localizedCo ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidResult: (:) [Get-Counter], Exception
- FullyQualifiedErrorId : CounterApiError,Microsoft.PowerShell.Commands.GetCounterCommand
Does anyone have an idea for the solution?
Thanks and Greetings