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

check_http command using proxy #249

Open
DvagNic opened this issue Nov 12, 2020 · 1 comment
Open

check_http command using proxy #249

DvagNic opened this issue Nov 12, 2020 · 1 comment

Comments

@DvagNic
Copy link

DvagNic commented Nov 12, 2020

I have the feeling this is not the right place to ask, but I would like to know if there is a way to add the ability for the check_http command to use the supplied proxy server settings (like the https_proxy env variable in the docker container). I have seen an old version of the check_http command which supported the "-X" parameter but I guess that's either deprecated or that it was a custom template.

thx

@jjethwa
Copy link
Owner

jjethwa commented Nov 12, 2020

Hi @DvagNic

Most of the default plugins are from the Monitoring Plugins project: https://www.monitoring-plugins.org/

It looks like check_http (ref: https://www.monitoring-plugins.org/doc/man/check_http.html ) supports basic proxy auth. I'm not sure what the -X flag did previously, but if you have a copy of it, you could always override it in the container if it supports the standard options icinga2 has configured for it. Hope that helps 😄

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

No branches or pull requests

2 participants