[Nagiosplug-devel] Problem with HTTP redirect, check_http v1759 (nagios-plugins 1.4.10)

Rodrigo Andés Godoy Schichaschwili rgodoysch at gmail.com
Mon Oct 1 17:20:28 CEST 2007


The "check_http" included in nagios-plugins 1.4.10 fails on redirect for web
servers that verify the virtual host, because it uses the server_adress
instead of the host_name when follows redirect links.

Change server_address to host_name in lines 154, 879, 1158, 1203 and 1207
solved the problem for me.

Regards, Rodrigo Godoy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20071001/7a0c6575/attachment.html>

More information about the Devel mailing list