Re: [Nagios-devel] [patch] summary.cgi Nagios 3.0rc1 broken

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] [patch] summary.cgi Nagios 3.0rc1 broken

Post by Guest »

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: [email protected]
Web: www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked