Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Hello! I trying to monitor VMware ESXi 5.1.0 build-1065491 (Update 1) on the server ProLiant DL360p Gen8.
My enviroment: Centos 5.9 x386 Python 2.7 Nagios 4.0.8 check_esxi_hardware.py version 20150710.
I installed python-pywbem (0.7.0) extension from here http://pywbem.github.io/pywbem/installation.html
When I try to check I receive the error:
# ./check_esxi_hardware.py -H 192.168.33.252 -U root -P passw -V hp Traceback (most recent call last): File “./check_esxi_hardware.py”, line 646, in instance_list = wbemclient.EnumerateInstances(classe) File “/usr/local/lib/python2.7/site-packages/pywbem/cim_operations.py”, line 404, in EnumerateInstances **params) File “/usr/local/lib/python2.7/site-packages/pywbem/cim_operations.py”, line 168, in imethodcall verify_callback = self.verify_callback) File “/usr/local/lib/python2.7/site-packages/pywbem/cim_http.py”, line 184, in wbem_request h.putheader(‘Content-length’, len(data)) File “/usr/local/lib/python2.7/httplib.py”, line 924, in putheader str = ‘%s: %s’ % (header, ‘rnt’.join(values)) TypeError: sequence item 0: expected string, int found
Can anybody help me? Please)