ktelep / EMC-Zabbix-Integration

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

'SSL error: certificate verify failed' error #28

Closed vilash57 closed 5 years ago

vilash57 commented 5 years ago

I am seeing these SSL cert errors on both the stats and discovery script log files. Before I go to my Infra team, I wanted to rule out any issues at the Zabbix level.

[vilash@virinfzbxp001l tmp]$ tail emc_vnx_stats.log 2019-07-30 02:53:36,278 ERROR 32375 Uncaught exception: (0, 'SSL error: certificate verify failed') None 2019-07-30 02:53:37,581 ERROR 32385 Uncaught exception: (0, 'SSL error: certificate verify failed') None 2019-07-30 02:53:38,815 ERROR 32391 Uncaught exception: (0, 'SSL error: certificate verify failed') None 2019-07-30 02:53:40,004 ERROR 32400 Uncaught exception: (0, 'SSL error: certificate verify failed') None 2019-07-30 02:53:40,701 ERROR 32401 Uncaught exception: (0, 'SSL error: certificate verify failed') None

[vilash@virinfzbxp001l tmp]$ tail emc_vnx_discovery.log 2019-07-30 02:53:34,014 ERROR 32363 Uncaught exception: (0, 'SSL error: certificate verify failed') None 2019-07-30 02:53:34,161 INFO 32364 Building WBEM Connection to https://10.50.90.3:5989 2019-07-30 02:53:34,161 INFO 32364 Storage Processor discovery started 2019-07-30 02:53:34,179 ERROR 32364 Uncaught exception: (0, 'SSL error: certificate verify failed') None 2019-07-30 02:53:36,074 INFO 32373 Building WBEM Connection to https://10.50.90.3:5989 2019-07-30 02:53:36,074 INFO 32373 Volume discovery started 2019-07-30 02:53:36,095 ERROR 32373 Uncaught exception: (0, 'SSL error: certificate verify failed') None

vilash57 commented 5 years ago

updated pywbem to the latest version and then updated the connection string to include 'no_verification=True'

return pywbem.WBEMConnection(ecom_url, (ecom_user, ecom_pass), default_namespace="/root/emc", no_verification=True)