[Nagios-devel] [patch] summary.cgi Nagios 3.0rc1 broken
Posted: Sun Jan 06, 2008 11:09 am
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]
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]