[Nagiosplug-help] Segmentation Fault in check_http v. 1.4.9 with redirects - but only on the commandline?

Ingo Lantschner ingo.lists at vum.at
Fri Jun 15 10:51:37 UTC 2007


Hi,
using check_http from Plugins Version 1.4.9 I get sometimes a  
segmentation fault when using the follow-option for redirects:

$ /usr/local/nagios/libexec/check_http -I www.binonabiso.com  -f  
follow -v
GET / HTTP/1.0
User-Agent: check_http/1.104 (nagios-plugins 1.4.9)


http://www.binonabiso.com:80/ is 365 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Date: Fri, 15 Jun 2007 10:14:23 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux
X-Powered-By: PHP/4.1.2
Location:
Connection: close
Content-Type: text/html; charset=iso-8859-1
**** CONTENT ****
<html>
<head>
<title>I'm outta here</title>
<META http-equiv="refresh" content="0; Url=http://parked.everydns.net/ 
webhop.php?"></head>
<body>
</body>
</html>

Segmentation fault


$ /usr/local/nagios/libexec/check_http -I www.binonabiso.com   -v
GET / HTTP/1.0
User-Agent: check_http/1.104 (nagios-plugins 1.4.9)


http://www.binonabiso.com:80/ is 365 characters
STATUS: HTTP/1.1 302 Found
**** HEADER ****
Date: Fri, 15 Jun 2007 10:19:33 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux
X-Powered-By: PHP/4.1.2
Location:
Connection: close
Content-Type: text/html; charset=iso-8859-1
**** CONTENT ****
<html>
<head>
<title>I'm outta here</title>
<META http-equiv="refresh" content="0; Url=http://parked.everydns.net/ 
webhop.php?"></head>
<body>
</body>
</html>

HTTP OK - HTTP/1.1 302 Found - 0.411 second response time | 
time=0.410680s;;;0.000000 size=365B;;;0

What is strange: When using it from within Nagios (3.0a3), it seems  
to work:
from command.cfg: command_line    $USER1$/check_http -H $HOSTNAME$ -f  
follow
from the CGI: HTTP OK HTTP/1.1 200 OK - 1172 bytes in 0.665 seconds

Any idea?

Thanks in advance, Ingo.
-- 
Ingo Lantschner
Vienna/Austria
Mob (+43-664) 143 84 18






More information about the Nagiosplugin-help mailing list