If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
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'
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
In this solution used perl script, not python. Please ask autor of this python script.
Comment