check_http not working
Posted: Tue Feb 08, 2022 2:11 pm
So something I don't understand at all here, curl works fine and check_http gives me socket timed out:
CURL:
check_http:
The only thing I can guess is even though I tell it --ssl it initially tries http and that is blocked by firewalls. I could be completely off base with that guess as well, I'm just at a loss!
CURL:
Code: Select all
[nagios@iss-chi-nag05 plugins]$ curl https://xxx.itconvergence.com
<html>
<script>
document.cookie = "tg=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure";
document.cookie = "sdesktop=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure";
document.location.replace("/+CSCOE+/logon.html");
</script>
</html>
Code: Select all
[nagios@iss-chi-nag05 plugins]$ ./check_http -H xxx.itconvergence.com --ssl -v
SSL initialized
GET / HTTP/1.1
User-Agent: check_http/v2.4.0.git (nagios-plugins 2.4.0)
Connection: close
Host: xxx.itconvergence.com
Accept: */*
CRITICAL - Socket timeout