Skip to content

check-windows-cpu-load: Get-Counter : Internal performance counter API call failed. Error: c0000bb8 #98

@MisterDeeds

Description

@MisterDeeds

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

Unbenannt

Does anyone have an idea for the solution?

Thanks and Greetings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions