Here is the verbose entry as well as another SSL check. We are working to see if it will function if we change the port on the non working command is running on from 9602 to 443. I'll let you know how it goes.
HTTP OK: HTTP/1.1 200 OK - 3843 bytes in 0.009 second response time |time=0.009187s;5.000000;10.000000;0.000000 size=3843B;;;0
[root@nagios nagios-plugins-master]# ./plugins/check_http -I 10.0.0.1 -H url.com -w 5 -c 10 -S -p 9602 -vvv
CRITICAL - Cannot make SSL connection.
[root@nagios nagios-plugins-master]# ./plugins/check_http -I 155.97.137.62 -H http://www.kronos.utah.edu -w 5 -c 10 -S
HTTP OK: HTTP/1.1 200 OK - 3844 bytes in 0.009 second response time |time=0.009174s;5.000000;10.000000;0.000000 size=3844B;;;0
[root@nagios nagios-plugins-master]#
I updated the working environment's openSSL to match the 2012R2.9 enviroment's openSSL. That caused our checks to break. 2012R2.7 running openssl.x86_64 0:1.0.1e-16.el6_5.4 causes the check to fail. They work with openssl.x86_64 1.0.0-27.el6_4.2
Is it only failing with non-standard ports, or are some 443 checks failing as well?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
$ yum list installed | grep openssl
openssl.x86_64 1.0.1e-16.el6_5.4 @updates
openssl-devel.x86_64 1.0.1e-16.el6_5.4 @updates
$ nmap localhost -p 443,11443
PORT STATE SERVICE
443/tcp closed https
11443/tcp open unknown
$ ./plugins/check_http -H localhost -I 192.168.4.21 -S -p 11443 -w 50 -c 100
HTTP OK: HTTP/1.1 200 OK - 695 bytes in 0.019 second response time |time=0.019278s;50.000000;100.000000;0.000000 size=695B;;;0
$ ./plugins/check_http -H localhost -I 192.168.4.21 -S -p 443 -w 50 -c 100
Connection refused
HTTP CRITICAL - Unable to open TCP socket
So, am I missing something here? How should I go about reproducing this?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
The system running the web server is solaris, or the server running the plugin is?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Is it only solaris https checks that you are having issues with? I tested against centos yesterday, and freebsd, gentoo, and debian today. All work fine checking against the ssl port of 11443.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.