I think you need to add the -S flag to tell check_http to use HTTPS: -S, --ssl Connect via SSL. Port defaults to 443
-- Robert G. Werner Oracle Apps Systems Administrator rwer...@pomwonderful.com 559.521.5089 -----Original Message----- From: Robert Sullivan [mailto:robertsulliv...@gmail.com] Sent: Wednesday, March 14, 2012 12:09 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] help with check_http Hi, I'm trying to set up a check_http test for a web server but am having some difficulty. I can do the test using curl from the command line but I want to know if I can do it with the check_http utility. This is what it looks like using curl curl --data-ascii "version=1&mineLogin=atp_...@mine.com&minePassword=testing" https://stage-mine-tto.mine.com/api/cclookup Returns: {"result":"SUCCESS","ccid":18711} I've tried this but it does not work. ./check_http -H stage-mine-tto.mine.com -a atp_qa1:testing -u https://stage-mine-tto.mine.com/api/cclookup Returns Connetion refused HTTP CRITICAL - Unable to open TCP socket I might be going about this the wrong way. Is there a way to send an ascii string to a URL using check_http or some other Nagios tool? If I sent just a string to the URL which is basically all I'm doing with curl it should work. Any help would be appreciated. Thanks, Robert ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Nagios-users mailing list Nagios-users@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 ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Nagios-users mailing list Nagios-users@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