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

Implemented: The powerstate poweredOff of a single virtual host is now CRITICAL (#211) #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion HISTORY
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ was done
- Remove output of guestToolsUnmanaged if --open_vm_tools_ok
- Fully ignore unknown states for hardware

- 04 Auf 2022 M.Fuerstenau version 1.2.5
- 04 Aug 2022 M.Fuerstenau version 1.2.5
- Renamed module host_list_vm_volumes_info to host_volumes_info
because name was misleading
- Minor corrections in help.pm
Expand All @@ -1343,3 +1343,6 @@ was done
and check is with lowercase (MYSERVER vs. myserver). So for example
checking for snapshots may result in no old snapshots found while
there are some. Fixed by adding option --ignore_casesensitive.

- 04 Sep 2024 ccztux version 1.2.6
- The powerstate poweredOff of a single virtual host is now CRITICAL
4 changes: 4 additions & 0 deletions modules/vm_runtime_info.pm
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ sub vm_runtime_info
else
{
$output = "Power state: " . $runtime->powerState->val;
if ($runtime->powerState->val eq "poweredOff")
{
$state = 2;
}
}
$state = check_state($state, $actual_state);
}
Expand Down