check_http and proxy
komodo
komodo at uvt.cz
Wed Mar 17 15:08:56 CET 2010
> Unfortunately, I have to access my application through HTTPS. So I tried
> with
>
> check_http -H my.proxy -p my_proxy_port -u https://my.website -vvv
>
> And I obtained this message :
> > GET https://my.website HTTP/1.0
> > User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
> > Connection: close
> > Host: my.proxy:my_proxy_port
> >
> >
> > http://my.proxy:my_proxy_porthttps://my.website
> > STATUS: HTTP/1.1 400 Bad Request
> > [....]
>
> Does soemone know how I should deal with this ?
>
> Thank you,
>
> Marc-André
>
Hi
You get bad request, because you don't use SSL.
You need to add this option
-S, --ssl
Connect via SSL. Port defaults to 443
Martin
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list