[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Too many line on disk graph



Thanks Henrik,

This is close. I have 14 filesystems. The first 3 graphs show 4 filesystems each. The forth graph shows 2 filesystems. And there is a 5th graph which is empty.

If I look under trends I see the 4 graphs I would expect to see. The graphs display exactly like the disk web page except I don't see the 5th empty graph.

-John

Henrik Stoerner wrote:
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



------------------------------------------------------------------------

--- 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) {




------------------------------------------------------------------------

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk