Skip to content
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

The powerstate of a virtual host is always ok #211

Open
ccztux opened this issue Sep 4, 2024 · 1 comment
Open

The powerstate of a virtual host is always ok #211

ccztux opened this issue Sep 4, 2024 · 1 comment

Comments

@ccztux
Copy link

ccztux commented Sep 4, 2024

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
@dan-m-joh
Copy link

Please make this "optional" - we have some virtual hosts that are "poweroff" (a conscious decision).
So implementing this would cause some False positives here.

Regards,
Dan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants