Need help In Configuring Check_esxi_hardware.py
Posted: Sat Apr 11, 2015 1:28 pm
Hello Friends,
Can come one help in configuring check_esxi_hardware.py, i am getting the following error why running the command :
"
[root@test libexec]# ./check_esxi_hardware.py -H 192.168.199.129:5989 -U root -P 123456
Traceback (most recent call last):
File "./check_esxi_hardware.py", line 222, in <module>
import pywbem
File "/usr/lib/python2.6/site-packages/pywbem/__init__.py", line 167, in <module>
from pywbem.cim_http import Error, ConnectionError, AuthError, TimeoutError
ImportError: cannot import name ConnectionError
[root@test libexec]# ./check_esxi_hardware.py -H http://192.168.199.129:5989 -U root -P 0v3r*there
Traceback (most recent call last):
File "./check_esxi_hardware.py", line 222, in <module>
import pywbem
File "/usr/lib/python2.6/site-packages/pywbem/__init__.py", line 167, in <module>
from pywbem.cim_http import Error, ConnectionError, AuthError, TimeoutError
ImportError: cannot import name ConnectionError
Can come one help in configuring check_esxi_hardware.py, i am getting the following error why running the command :
"
[root@test libexec]# ./check_esxi_hardware.py -H 192.168.199.129:5989 -U root -P 123456
Traceback (most recent call last):
File "./check_esxi_hardware.py", line 222, in <module>
import pywbem
File "/usr/lib/python2.6/site-packages/pywbem/__init__.py", line 167, in <module>
from pywbem.cim_http import Error, ConnectionError, AuthError, TimeoutError
ImportError: cannot import name ConnectionError
[root@test libexec]# ./check_esxi_hardware.py -H http://192.168.199.129:5989 -U root -P 0v3r*there
Traceback (most recent call last):
File "./check_esxi_hardware.py", line 222, in <module>
import pywbem
File "/usr/lib/python2.6/site-packages/pywbem/__init__.py", line 167, in <module>
from pywbem.cim_http import Error, ConnectionError, AuthError, TimeoutError
ImportError: cannot import name ConnectionError