[Nagiosplug-help] check_http v1.4.14 - Cannot make SSL connection

tontonitch-pro at yahoo.fr tontonitch-pro at yahoo.fr
Wed Jan 6 10:34:53 CET 2010


I've upgraded the official nagios plugins from v1.4.13 to v1.4.14.
Unfortunately, I've noticed that the check_http plugin reacts differently when using ssl.

I suspect a bug in the new version of the check_http plugin (or may be a conflict between this version of check_http and the SSL library on 64bits OS, as I'm running it on Debian Lenny amd64).

Hope you could validate that it's a bug or not. Do not hesitate to ask for some other tests or other information.

Thanks in advance.

Best regards,


Following the execution of the 2 versions of the plugin in verbose mode:

nagios at nagios3:/usr/local/nagios/libexec$ ls | grep check_http
check_http1.4.14 check_http1.4.13

nagios at nagios3:/usr/local/nagios/libexec$ /usr/local/nagios/libexec/check_http1.4.14 -H xxx.xxx.xxx.xxx -p 1839 --ssl --url=/emd/main -w 15 -c 30 -v
CRITICAL - Cannot make SSL connection
31203:error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected message:s23_clnt.c:578:
GET /emd/main HTTP/1.1
User-Agent: check_http/v1.4.14 (nagios-plugins 1.4.14)
Connection: close
Host: xxx.xxx.xxx.xxx:1839

HTTP CRITICAL - Error on receive
nagios at nagios3:/usr/local/nagios/libexec$

nagios at nagios3:/usr/local/nagios/libexec$ /usr/local/nagios/libexec/check_http1.4.13 -H xxx.xxx.xxx.xxx -p 1839 --ssl --url=/emd/main -w 15 -c 30 -v
GET /emd/main HTTP/1.0
User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
Connection: close
Host: xxx.xxx.xxx.xxx:1839

https://xxx.xxx.xxx.xxx:1839/emd/main is 330 characters
**** HEADER ****
Content-Type: text/html; charset=UTF-8
Connection: Close
X-ORCL-EMCT: 2010-01-05 18:34:14
Content-Length: 172
**** CONTENT ****
<html><head><title>emagent</title></head><body text="#000000" bgcolor="#FFFFC0"><H1>EMAgent10.</H1><H2> Congratulations,  EMAgent is working!<br></h2>
HTTP OK HTTP/1.1 200 OK - 330 bytes in 0.052 seconds |time=0.051621s;15.000000;30.000000;0.000000 size=330B;;;0
nagios at nagios3:/usr/local/nagios/libexec$

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20100106/30c5939a/attachment.html>

More information about the Help mailing list