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
Need help In Configuring Check_esxi_hardware.py
-
sh.shekhar89
- Posts: 52
- Joined: Fri Oct 10, 2014 3:17 pm
Re: Need help In Configuring Check_esxi_hardware.py
Did you install the Python extension pywbem? That is part of the requirements for this plugin.
If you are running Centos or Redhat, run the following to install it.
If you are running Centos or Redhat, run the following to install it.
Code: Select all
yum install pywbemBe sure to check out our Knowledgebase for helpful articles and solutions!
-
sh.shekhar89
- Posts: 52
- Joined: Fri Oct 10, 2014 3:17 pm
Re: Need help In Configuring Check_esxi_hardware.py
Thanks Everyone, i fixed the issue.
Thanks a lot
Thanks a lot