[patch] summary.cgi Nagios 3.0rc1 broken

Ethan Galstad nagios at nagios.org
Thu Jan 24 03:50:57 CET 2008


Joerg Linge wrote:
> Hi Ethan,
> summary.cgi does not recognice the host query string. So here is a small patch against summary.c Revision 1.25 ( 3.0rc1 )
> 
> Kind regards,
> Jörg
> 
> diff -u summary.c.orig summary.c
> --- summary.c.orig      2008-01-06 19:34:00.000000000 +0100
> +++ summary.c   2008-01-06 19:56:17.000000000 +0100
> @@ -1170,7 +1170,7 @@
>                                 break;
>                                 }
> 
> -                       if((target_host_name=(char *)strdup(target_host_name))==NULL)
> +                       if((target_host_name=(char *)strdup(variables[x]))==NULL)
>                                 target_host_name="";
>                         strip_html_brackets(target_host_name);
> 

Thanks Joerg!  Patch will be in CVS shortly...


Ethan Galstad
Nagios Developer
___
Email: nagios at nagios.org
Web:   www.nagios.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Developers mailing list