Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add proxy support #4

Closed
kam1kaze opened this issue Jul 1, 2015 · 7 comments
Closed

add proxy support #4

kam1kaze opened this issue Jul 1, 2015 · 7 comments

Comments

@kam1kaze
Copy link

kam1kaze commented Jul 1, 2015

Hi,

We need a proxy support of this plugin. Unfortunately, It looks like we cannot implement such feature until jaxxstorm/redphone#9 pull request is merged to redphone library.

@analytically
Copy link
Contributor

We're not using redphone anymore.

@masteinhauser
Copy link

It looks like HTTP Proxy support is not supported within the pagerduty gem when comparing to the Ruby Docs for Net::HTTP and how to use Proxies.

I might be able to provide a PR for this, but we are evaluating using flapjack.io instead of hitting PagerDuty's API directly anyway.

@orien
Copy link

orien commented Jan 19, 2016

FYI the Pagerduty gem now has an explicit API for configuring an HTTP proxy. Version 2.1.0 has been released with this feature.

envato/pagerduty#47

@willejs
Copy link

willejs commented Apr 12, 2016

I was using this plugin with the http/s proxy environment variables defined and im 99.9% sure it worked?

@masteinhauser
Copy link

@willejs I don't remember exactly what lead me to my conclusion, but it also highly depends on which version of Ruby you are running sensu and the handler under.

@willejs
Copy link

willejs commented Apr 12, 2016

Ive got the code somewhere where i did this, I remember playing around with this for a while. Essentially, you need to make sure the proxy_server variables are set in the parent process that spawns ruby.
Let me double check.

@eheydrick eheydrick mentioned this issue Apr 13, 2016
@eheydrick
Copy link
Contributor

Proxy support was added in #26 by @lcrisci and released in version 2.0.0 which is now on Rubygems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants