Skip to content

Commit

Permalink
Implemented: The powerstate poweredOff of a single virtual host is now
Browse files Browse the repository at this point in the history
CRITICAL (BaldMansMojo#211)
  • Loading branch information
zet committed Sep 4, 2024
1 parent 4f63b93 commit a79e316
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
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

0 comments on commit a79e316

Please sign in to comment.