Ad Widget

Collapse

Monitoring Hardware ESXI by CIM

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    #1

    Monitoring Hardware ESXI by CIM

    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.
    Last edited by Guest; 18-03-2015, 12:21.
  • Ordnas
    Junior Member
    • Mar 2015
    • 13

    #2
    I have the same Problem

    Have you an Solution?

    Comment

    • Ordnas
      Junior Member
      • Mar 2015
      • 13

      #3
      Originally posted by cabbiolo
      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.
      Bei Ubuntu dies in Terminal eingeben:
      aptitude install python-pywbem=0.7.0-4

      Ist anscheinend ein Problem in der neueren Version von python-pywbem

      Comment

      Working...