[hobbit] Too many line on disk graph
Henrik Stoerner
henrik at hswn.dk
Thu Nov 3 07:57:08 CET 2005
On Wed, Nov 02, 2005 at 05:50:44PM -0500, John Glowacki wrote:
> Was there an update on this? When I have a system with red or yellow
> events, the disk graph combines all the filesystems into one graph
> instead of multiple graphs. When I get a green disk event it goes back
> to multiple graphs.
I think I've got this one nailed down now. Could you try the attached
patch and let me know if it solves the problem ?
To install, save the attachment to /tmp/hobbit-4.1.2-diskgraph.patch,
then
cd hobbit-4.1.2
patch -p0 </tmp/hobbit-4.1.2-diskgraph.patch
make
then either run "make install" as root, or just copy the
hobbitd/hobbitsvc.cgi program to ~hobbit/server/bin/
Regards,
Henrik
-------------- next part --------------
--- lib/htmllog.c 2005/09/21 08:43:18 1.31
+++ lib/htmllog.c 2005/11/03 06:53:38
@@ -11,7 +11,7 @@
/* */
/*----------------------------------------------------------------------------*/
-static char rcsid[] = "$Id: htmllog.c,v 1.31 2005/09/21 08:43:18 henrik Exp $";
+static char rcsid[] = "$Id: htmllog.c,v 1.32 2005/11/03 06:53:20 henrik Exp $";
#include <ctype.h>
#include <stdlib.h>
@@ -93,6 +93,7 @@
if (p) {
*p = '\0';
fprintf(output, "%s", restofmsg);
+ *p = '&';
color = parse_color(p+1);
if (color == -1) {
More information about the Xymon
mailing list