check_http oddness

Holger Weiss holger at CIS.FU-Berlin.DE
Tue Jun 2 17:03:32 CEST 2009


* Janet Sullivan <jsullivan at mndigital.com> [2009-06-01 10:45]:
> Check_http reports a timeout, however, a packet capture shows that
> data was in fact received.
>
> Data Sent:
>
>   GET /admin/ping?auser=XXX&apaswd=XXX HTTP/1.0
>   User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
>   Connection: close
>
> Data Received:
>
>   HTTP/1.0 200 OK
>   Connection: Keep-Alive

While the plugin expects the server to close the connection after
sending the response, the server initiates a HTTP/1.0-style persistent
connection.  The plugin doesn't handle this properly and awaits more
data until it runs into the timeout.

Could you check whether you can reproduce the problem using the current
snapshot and the "-H" option (in which case the plugin should request an
HTTP/1.1 connection)?  See:

	http://nagiosplug.sourceforge.net/snapshot/

Thanks, Holger

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list