Closed amanogue closed 9 years ago
Hey, i have nearly the same problem.
Traceback (most recent call last):
File "/usr/share/zabbix/externalscripts/svc_perf_discovery.py", line 59, in
The "cannot load cache" can be fixt if you change the path to a existing path.
Have you found a Solution?
Geetings
Sententiosus
This is problem with authentication and python library wbem.. (https://pypi.python.org/pypi/pywbem) zabbix script just uses this..
I'm not able debug python code. Sory guys :)
I'm trying to monitor 2 IBM V7000 with "_Special_Storwize_Perf" template. I've followed the installation instructions and the configuration steps. The logs files are full of errors. I'm stuck on this problem, I don't know where else to look for.
jue abr 9 12:55:01 CEST 2015 Can't load cache: [Errno 2] No such file or directory: '/var/cache/zabbix/svc_perf.cczv3700_CPD1.cache' Connecting to cczv3700_CPD1 Can't load cache: [Errno 2] No such file or directory: '/var/cache/zabbix/svc_perf.cczv3700_CPD1.cache' Connecting to cczv3700_CPD1 Traceback (most recent call last): File "/etc/zabbix/externalscripts/svc_perf_wbem.py", line 200, in
collectStats(conn, 'volume', 'IBMTSSVC_StorageVolume', 'IBMTSSVC_StorageVolumeStatistics', VOLUME_COUNTERS)
File "/etc/zabbix/externalscripts/svc_perf_wbem.py", line 106, in collectStats
names = enumNames(elementClass)
File "/etc/zabbix/externalscripts/svc_perf_wbem.py", line 53, in enumNames
for obj in conn.ExecQuery( 'WQL', 'SELECT DeviceID, ElementName FROM %s' % (cimClass) ):
File "/usr/lib/python2.6/site-packages/pywbem/cim_operations.py", line 522, in ExecQuery
Query = Query)
File "/usr/lib/python2.6/site-packages/pywbem/cim_operations.py", line 168, in imethodcall
verify_callback = self.verify_callback)
File "/usr/lib/python2.6/site-packages/pywbem/cim_http.py", line 225, in wbem_request
raise AuthError(response.reason)
pywbem.cim_http.AuthError: Unauthorized
Thanks in advance. Antonio.