schubergphilis / Check_Nexenta

Nagios plugin to monitor Nexenta systems.
Apache License 2.0
5 stars 12 forks source link

Fixes issue #5 - SSL Certificate context / add support for Nexenta 4.0 #7

Closed helge000 closed 8 years ago

helge000 commented 8 years ago

Fixes SSL certificate validation errors you always get when using IP addresses by adding a new config parameter.

CRITICAL: Unable to connect to API at https://XX.XX.XX.XX:8443/rest/nms/ <https://XX.XX.XX.XX:8443/rest/nms/>

because of hidden urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]

Further, fixes a minor parameter mismatch witch prevented use of -P (perfdata): Fewer items found in D-Bus signature than in Python arguments

Tested against Nexenta 4.0.X Appliance