[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

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

Post by Guest »

Hi Ethan,
summary.cgi does not recognice the host query string. So here is a small pa=
tch against summary.c Revision 1.25 ( 3.0rc1 )

Kind regards,
J=F6rg

diff -u summary.c.orig summary.c
=2D-- 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;
}

=2D if((target_host_name=3D(char *)strdup(target_host=
_name))=3D=3DNULL)
+ if((target_host_name=3D(char *)strdup(variables[x])=
)=3D=3DNULL)
target_host_name=3D"";
strip_html_brackets(target_host_name);





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