Phil Randal

Results 16 comments of Phil Randal

1.2 branch needs to support PHP 5.4 as a minimum, as that version of PHP is used by default in CentOS 7 / RHEL 7

The API in pywbem changed in 1.0.0. From https://pywbem.readthedocs.io/en/stable_1.1/changes.html#pywbem-1-0-0b1 "Made all sub-namespaces within the pywbem namespace private, except for pywbem.config. Specifically, renamed the following modules by prepending an underscore character:...

workaround is to stick with an earlier version of pywbem, e.g. `pip install pywbem==0.17.6`

Or apply this patch, which should work with pywbem 0.8.0 and later: ``` # diff -Naur check_esxi_hardware.py check_esxi_hardware.py.new --- check_esxi_hardware.py 2021-06-03 09:01:40.092496740 +0100 +++ check_esxi_hardware.py.new 2021-06-03 08:53:03.202992912 +0100 @@ -738,7...

You could have separate try ... except blocks depending on pywbem version, for backwards compatibility

I've experienced the same issue. 0.5.12-9 from testing did not fix it for me, either. 0.5.10 works for me.

I've done limited testing but so far this looks good to me.

...10892.1.1.100 OID is completely missing to get OMSA version, ...10892.1.1.1.0 = 9 ...10892.1.1.2.0 = 3 ...10892.1.1.3.0 = 0 That works for 9.2.0 too, but I can see no way of...

My quick and dirty workaround is here: https://github.com/philrandal/check_openmanage/commit/91f385578842e57cfe8260b67c322032e54402e0