[patch] summary.cgi Nagios 3.0rc1 broken
Joerg Linge
pitchfork at ederdrom.de
Sun Jan 6 20:08:55 CET 2008
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);
-------------------------------------------------------------------------
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/
More information about the Developers
mailing list