Skip to content

Wrong CPU Usage percentage #202

@RootGeorg

Description

@RootGeorg

I'm having troubles with the CPU usage trying to monitor an ESXi host directly (not through vCenter).
It returns me an usage of 0.0n or 0.nn when it's absolutely wrong:
OK: CPU usage=0.16%|'cpu_usage'=0.16%;;;;
I tried with the old check_vmware_api.pl and it works fine:
CHECK_VMWARE_API.PL OK - cpu usage=43.98 % | cpu_usage=43.98%;;
My environment:
perl version:
v5.32.1
vmware SDK version:
vSphere SDK for Perl version: 6.5.0
Script 'vmware-cmd' version: 6.5.0
ESXi Hosts version: 6.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions