Skip to content

Commit

Permalink
v0.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
datamuc committed Jul 2, 2024
1 parent be94af4 commit 782d831
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v0.3.8

* depend on 8.0.3.0.1 because of the vsan command, the extra non free bindings
are now included in pyVmomi and don't exist anymore as a separate project

# v0.3.7

* limit number in plugin output to 8 significant digits
Expand Down
19 changes: 4 additions & 15 deletions checkvsphere/vcmd/vsan.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,21 +221,10 @@ def import_vsan():
try:
import vsanapiutils as vsu
except Exception as e:
print(f"""
{str(e)}
You need to download vsan api for python from vmware:
https://developer.vmware.com/web/sdk/8.0/vsan-python
Then take the vsanmgmtObjects.py from the bindings directory
and the vsanapiutils.py from the samples directory and place
them somewhere where your python can find it.
Also the module defusedxml must be installed:
pip install defusedxml
""".strip())
print((
f"""{str(e)}\n\n"""
"pyVmomi is too old, at least 8.0.3.0.1 is required"
).strip())
raise SystemExit(3)

def health2state(color):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ requires = ["flit_core >=3.2,<4"]
name = "checkvsphere"
readme = "README.md"
description = "check_vsphere monitoring plugin"
version = "0.3.7"
version = "0.3.8"
requires-python = ">= 3.6"
authors = [
{ name = "Danijel Tasov", email = "[email protected]" }
]
dependencies = [
"pyvmomi >= 8.0.0.1, < 9",
"pyvmomi >= 8.0.3.0.1, < 9",
"monplugin >= 0.6.1",
]
classifiers = [
Expand Down

0 comments on commit 782d831

Please sign in to comment.