icinga2 icon indicating copy to clipboard operation
icinga2 copied to clipboard

check_http command using proxy

Open DvagNic opened this issue 4 years ago • 1 comments

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

DvagNic avatar Nov 12 '20 17:11 DvagNic

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 😄

jjethwa avatar Nov 12 '20 21:11 jjethwa