[Pkg-nagios-devel] Bug#722482: Bug#722482: check_http: fix for different virtual port

Christopher Odenbach odenbach at uni-paderborn.de
Thu Aug 20 13:32:17 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

> did you test the package from jessie (or wheezy-backports)? This 
> should be fixed since 1.5 accordingly to 
> https://github.com/monitoring-plugins/monitoring-plugins/issues/1026#issuecomment-46850782

Interesting
> 
- - I had not seen that reaction.

Just checked the version from backports, but still the same issue:

./check_http -I lumen1 -p 5033 -H www.uni-paderborn.de:80 -v
GET / HTTP/1.1
User-Agent: check_http/v2.1.1 (monitoring-plugins 2.1.1)
Connection: close
Host: www.uni-paderborn.de:80

The request looks good, but it is sent to lumen1.uni-paderborn.de:80,
not lumen1.uni-paderborn.de:5033


Again, if I leave out the :80 at the end I get

./check_http -I lumen1 -p 5033 -H www.uni-paderborn.de -v | grep Host
Host: www.uni-paderborn.de:5033

In this case the request goes to the right host and port, but the
request itself is wrong.


So the issue is not fixed yet. :-(

If I look at the source, my patch has not been included in any way.

Regards,

Christopher

- -- 
======================================================
    Dipl.-Ing. Christopher Odenbach
    Zentrum fuer Informations- und Medientechnologien
    Universitaet Paderborn
    Raum N5.311
    odenbach at uni-paderborn.de
    Tel.: +49 5251 60 5315
======================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFV1dbhhxiCJKeLY0IRAknaAKCImagBbTalZmalxbZPe/wjN3gLsgCeJnpr
CxaBklj3odGJMQ5K0y34Z5k=
=fhSL
-----END PGP SIGNATURE-----



More information about the Pkg-nagios-devel mailing list