Can anyone tell me why when I do the command:
/usr/lib/zabbix/externalscpits/check-esx-hardware.py -u [I] user [/ I] -p [I] password [/ I] -i [I] IPESXI [/ I] -s
I always been this:
Connection to IPESXI
Traceback (most recent call last):
File "./check-esx-hardware.py", line 92, in <module>
instance_list = wbemclient.EnumerateInstances (class)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_operations.py", line 427, in EnumerateInstances
** Params)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_operations.py", line 183, in imethodcall
no_verification = self.no_verification)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_http.py", line 281, in wbem_request
h.endheaders ()
File "/usr/lib/python2.7/httplib.py", line 958, in endheaders
self._send_output (message_body)
File "/usr/lib/python2.7/httplib.py", line 818, in _send_output
self.send (msg)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_http.py", line 119, in the send
self.connect ()
File "/usr/lib/python2.7/dist-packages/pywbem/cim_http.py", line 171, in the connect
except (Err.SSLError, SSL.SSLError, SSL.SSLTimeoutError
AttributeError: 'module' object has no attribute 'SSLTimeoutError'
I followed this guide. http://lab4.org/wiki/Zabbix_ESX-Serv...IM_ueberwachen
I do not know what to do. Thank you all and I hope someone answer me.
/usr/lib/zabbix/externalscpits/check-esx-hardware.py -u [I] user [/ I] -p [I] password [/ I] -i [I] IPESXI [/ I] -s
I always been this:
Connection to IPESXI
Traceback (most recent call last):
File "./check-esx-hardware.py", line 92, in <module>
instance_list = wbemclient.EnumerateInstances (class)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_operations.py", line 427, in EnumerateInstances
** Params)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_operations.py", line 183, in imethodcall
no_verification = self.no_verification)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_http.py", line 281, in wbem_request
h.endheaders ()
File "/usr/lib/python2.7/httplib.py", line 958, in endheaders
self._send_output (message_body)
File "/usr/lib/python2.7/httplib.py", line 818, in _send_output
self.send (msg)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_http.py", line 119, in the send
self.connect ()
File "/usr/lib/python2.7/dist-packages/pywbem/cim_http.py", line 171, in the connect
except (Err.SSLError, SSL.SSLError, SSL.SSLTimeoutError
AttributeError: 'module' object has no attribute 'SSLTimeoutError'
I followed this guide. http://lab4.org/wiki/Zabbix_ESX-Serv...IM_ueberwachen
I do not know what to do. Thank you all and I hope someone answer me.
Comment