ngomstronic / svc-perf

Automatically exported from code.google.com/p/svc-perf
0 stars 0 forks source link

pywbem.cim_http.AuthError: Unauthorized #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hey,

I installed your scripts today and i allways get the following error Message 
when i run the svc_per_discovery.py
"
root@zabbix:/tmp# /usr/share/zabbix/externalscripts/svc_perf_discovery 
xxx.xxx.xxx.xxx
{ "data":[
Traceback (most recent call last):
  File "/usr/share/zabbix/externalscripts/svc_perf_discovery.py", line 59, in <module>
    volumes = conn.ExecQuery('WQL', 'select DeviceID, ElementName from IBMTSSVC_StorageVolume')
  File "/usr/local/lib/python2.7/dist-packages/pywbem-0.7.0-py2.7.egg/pywbem/cim_operations.py", line 522, in ExecQuery
    Query = Query)
  File "/usr/local/lib/python2.7/dist-packages/pywbem-0.7.0-py2.7.egg/pywbem/cim_operations.py", line 168, in imethodcall
    verify_callback = self.verify_callback)
  File "/usr/local/lib/python2.7/dist-packages/pywbem-0.7.0-py2.7.egg/pywbem/cim_http.py", line 225, in wbem_request
    raise AuthError(response.reason)
pywbem.cim_http.AuthError: Unauthorized
"
I use Python version 2.7.3 and Zabbix 2.4.5 on an Ubuntu 12.04.

All the other scripts running fine.

if you need any other information just ask, i won´t bite ;-)

Thanks in advance

Sententiosus

Original issue reported on code.google.com by Sententi...@gmail.com on 29 Jul 2015 at 12:48