[Nagiosplug-devel] Problem with HTTP redirect, check_http v1759 (nagios-plugins 1.4.10)
Brian A. Seklecki
lavalamp at spiritual-machines.org
Mon Oct 1 17:57:02 CEST 2007
I concur that that would be a sound and well welcomed change to the
default checkcomands.cfg templates.
~BAS
On Mon, 2007-10-01 at 11:20 -0400, Rodrigo Andés Godoy Schichaschwili
wrote:
> Hi:
>
> 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.
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
More information about the Devel
mailing list