check_http encrypted link

Mike Chesnut mikec at aggregateknowledge.com
Mon May 9 18:35:11 CEST 2011


On 05/09/2011 07:20 AM, Tristan Drinkwater wrote:
> I’m struggling to check a http link that’s encrypted.
>
> The full url works ok in a browser but I get ‘unable to open a TCP
> socket’ error when I run ‘check_http –H domain/encrypted link’ from the
> command line.
>
> I’ve also tried ‘check_http –H domain –u /encrypted link” but that’s not
> working either.
>
> Is check_http even able to check such a thing?

If by encrypted you mean served over SSL (i.e., https), then all you 
should have to do is include the "-S" parameter to check_http.

You probably would want to do "-p 443" also.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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