Dear Maintainer,

I had the same problem, but applying the patch only partially resolved it: 
indeed, the exception is gone, but I obtain no result from the 
check_esxi_hardware.py. (I got: "UNKNOWN: ")

On my case, it was that checked ESXi server had an auto-generated certificate 
(thus, invalid for Python).
I modified the check_esxi_hardware.py script to open pywbem connection without 
checking SSL certificate, like this:
    wbemclient = pywbem.WBEMConnection(hosturl, (user,password), NS)
        replaced by
    wbemclient = pywbem.WBEMConnection(hosturl, (user,password), NS, 
no_verification=True)

It is now ok.
(I am aware that disable certificate check is bad, but I'm on a dedicated 
internal network, and the risk of attack is very slow on my case)


Best regards,

Jeremie LEGRAND

Reply via email to