[hobbit] Trends

Henrik Stoerner henrik at hswn.dk
Sat Apr 30 09:01:03 CEST 2005


On Sat, Apr 30, 2005 at 08:32:47AM +0200, lars ebeling wrote:
> Yes the problem is that, on the trends-page only rootfilesystem is shown 
> not the other filesystems. But what is shown is correct.

I think this will fix it.

Henrik

-------------- next part --------------
--- hobbitd/etcfiles/hobbitgraph.cfg	2005/04/24 20:45:28	1.17
+++ hobbitd/etcfiles/hobbitgraph.cfg	2005/04/30 06:55:22
@@ -54,9 +54,8 @@
 	TITLE Disk Utilization
 	YAXIS Used
 	DEF:p at RRDIDX@=@RRDFN@:used:AVERAGE
-	CDEF:@RRDIDX at t=p at RRDIDX@,1024,*
+	CDEF:p at RRDIDX@t=p at RRDIDX@,1024,*
 	LINE2:p at RRDIDX@t#@COLOR@:@RRDPARAM@
-	-u 100
 	-l 0
 	GPRINT:p at RRDIDX@:LAST: \: %5.1lf KB (cur)
 	GPRINT:p at RRDIDX@:MAX: \: %5.1lf KB (max)
--- hobbitd/hobbitsvc-trends.c	2005/04/03 16:23:38	1.64
+++ hobbitd/hobbitsvc-trends.c	2005/04/30 06:50:56
@@ -189,7 +189,7 @@
 			myrrd->gdef->larrdrrdname = graphdef;
 			myrrd->gdef->larrdpartname = NULL;
 			myrrd->gdef->maxgraphs = 999;
-			myrrd->count = 1;
+			myrrd->count = rrd->count;
 			myrrd->next = NULL;
 			partlink = larrd_graph_data(host->bbhostname, hostdisplayname, NULL, myrrd->gdef, myrrd->count, larrd043, hobbitd, wantmeta);
 			if ((strlen(rrdlink) + strlen(partlink) + 1) >= rrdlinksize) {


More information about the Xymon mailing list