[Nagiosplug-devel] check_http plugin
Zdenek Ott
Zdenek.Ott at seznam.cz
Fri Oct 1 09:38:10 CEST 2010
Hi,
two days ago I investigated why on specific HTTPS URL check_http plugin throwed
"HTTP CRITICAL - Error on receive". My Iceweasel and wget had no problem with
this URL. I founded source of this error in sslutils.c in "int
np_net_ssl_read(void *buf, int num)" function. This function calls
"SSL_read(s, buf, num)" and got error SSL_ERROR_WANT_READ.
OpenSSL documentation explains it as state when operation did not completed
and the SSL_read should be called again later (http://www.openssl.org/docs/ssl/SSL_get_error.html).
But check_http didn't do it. I have made small changes also in
"int np_net_ssl_write(const void *buf, int num)" to solve my problem and I'm sending
diff file to you. I hope it will be usefull for you.
Have a nice day
Zdenek Ott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-plugins-1.4.15.patch.gz
Type: application/gzip
Size: 424 bytes
Desc: not available
URL: <http://nagios-plugins.org/archive/devel/attachments/20101001/c192941d/attachment.bin>
More information about the Devel
mailing list