Skip to content

Commit

Permalink
adjust vsan object states
Browse files Browse the repository at this point in the history
  • Loading branch information
datamuc committed Oct 30, 2023
1 parent c0821e5 commit d0f76d3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v0.3.3

* adjust object status mapping in vsan cmd

# v0.3.2

* fix status message in hostruntime

# v0.3.1

* Try harder to extract a nice message from the excpetions if CONNECT_NOFAIL is set
Expand Down
4 changes: 2 additions & 2 deletions checkvsphere/vcmd/vsan.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
'nonavailabilityrelatedincompliance': CRITICAL, # should not be possible according to the docs
'nonavailabilityrelatedincompliancewithpausedrebuild': WARNING,
'nonavailabilityrelatedincompliancewithpolicypending': OK,
'nonavailabilityrelatedincompliancewithpolicypendingfailed': WARNING,
'nonavailabilityrelatedincompliancewithpolicypendingfailed': CRITICAL,
'nonavailabilityrelatedreconfig': OK,
'reducedavailabilitywithactiverebuild': WARNING, # debatable
'reducedavailabilitywithnorebuild': CRITICAL,
'reducedavailabilitywithnorebuilddelaytimer': WARNING,
'reducedavailabilitywithpausedrebuild': CRITICAL,
'reducedavailabilitywithpolicypending': OK,
'reducedavailabilitywithpolicypendingfailed': WARNING,
'reducedavailabilitywithpolicypendingfailed': CRITICAL,
'remoteAccessible': UNKNOWN, # is ignored for now
'VsanObjectHealthState_Unknown': WARNING,
}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = ["flit_core >=3.2,<4"]
name = "checkvsphere"
readme = "README.md"
description = "check_vsphere monitoring plugin"
version = "0.3.1"
version = "0.3.3"
requires-python = ">= 3.6"
authors = [
{ name = "Danijel Tasov", email = "[email protected]" }
Expand Down

0 comments on commit d0f76d3

Please sign in to comment.