sensu-plugins-ssl icon indicating copy to clipboard operation
sensu-plugins-ssl copied to clipboard

http_proxy environment variables ignored

Open garethwilson opened this issue 7 years ago • 0 comments

We host our sensu monitoring behind a corporate proxy. Our CentOS servers all have http_proxy environment variables set correctly.

We have used the check-ssl-qualys.rb in the past and it has worked fine. I updated our core sensu version as well as all of the plugins recently and started receiving error results when running the qualys check.

CheckSSLQualys WARNING: execution expired

At first I thought it was related to the other timeout issues that have been raised here and tried increasing the check timeout. However after a number of attempts and a little bit of debugging I think that it is actually a problem connecting to the API.

I think the issue could be related to the change that was made to remove the rest client and replace it with Net::HTTP.get_response. Is there some other way that I am meant to configure a proxy, or am I out of luck at the moment?

garethwilson avatar May 18 '18 03:05 garethwilson