ktelep / EMC-Zabbix-Integration

Integration for Zabbix and the EMC ECOM server for VNX1/VNX2 Monitoring
MIT License
35 stars 13 forks source link

Uncaught exception: 'module' object has no attribute 'SSLTimeoutError' #14

Closed Sinezere closed 3 years ago

Sinezere commented 8 years ago

Hi when i executed de script etc_vnx_discovery.py in the logs i can see this errors...

2016-06-22 18:17:32,506 INFO 31948 Building WBEM Connection to https://192.168.1.225:5989 2016-06-22 18:17:32,506 INFO 31948 Array hardware discovery started 2016-06-22 18:17:32,512 ERROR 31948 Uncaught exception: 'module' object has no attribute 'SSLTimeoutError'

Can i help me?

Best regards!

Sinezere commented 8 years ago

I solve it removing SSLTimeoutError in /usr/lib/python2.7/dist-packages/pywbem/cim_http.py file at: ------except ( Err.SSLError, SSL.SSLError, SSL.SSLTimeoutError-------

Thanks!

ktelep commented 8 years ago

Glad you worked around the issue but can you provide me with the version of Python and pywbem you have on your system? You should not have to edit the pywbem source. On Wed, Jun 22, 2016 at 7:57 PM Sinezere notifications@github.com wrote:

I solve it removing SSLTimeoutError in /usr/lib/python2.7/dist-packages/pywbem/cim_http.py file at: ------except ( Err.SSLError, SSL.SSLError, SSL.SSLTimeoutError-------

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ktelep/EMC-Zabbix-Integration/issues/14#issuecomment-227912052, or mute the thread https://github.com/notifications/unsubscribe/AAor7zyrKIWeveO7fGTUFITnPg3BaxEyks5qOcvogaJpZM4I8UPx .

Sinezere commented 8 years ago

I Use pywbem_0.8.0~dev650-1 and python 2.7. Now there are an other problem. I can't execute discovery shell script but zabbix shows "Value should be a JSON object." in discovery rules items...when execute de stats script receive this: zabbix_sender [30534]: Warning: incorrect answer from server [ZBX_NOTSUPPORTED] Sending failed. Use option -vv for more detailed output. Thank you