[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Too many line on disk graph
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Too many line on disk graph
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Thu, 3 Nov 2005 07:57:08 +0100
- References: <C99DCCB44C93494CB2779B5233674393017386DC@MAIL03.orhs.org> <436942C4.2090108@idttechnology.com>
- User-agent: Mutt/1.5.9i
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) {