Skip to content

The powerstate of a virtual host is always ok #211

@ccztux

Description

@ccztux

Actually the powerstate of a virtual host is always OK:

./check_vmware_esx --sessionfile=esx --sessionfiledir=/tmp/check_vmware_esx -D dc01 -u DOMAIN\\myuser -p mypassword -N virthost -S runtime --subselect=powerstate
OK: Power state: poweredOff

It would be nice to throw a CRITICAL state if the powerstate is poweredOff:

./check_vmware_esx_new --sessionfile=esx --sessionfiledir=/tmp/check_vmware_esx_new -D dc01 -u DOMAIN\\myuser -p mypassword -N virthost -S runtime --subselect=powerstate
CRITICAL: Power state: poweredOff

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