Xymon Mailing List Archive search

Trends

2 messages in this thread

list Lars Ebeling · Sat, 30 Apr 2005 08:32:47 +0200 ·
Yes the problem is that, on the trends-page only rootfilesystem is shown not 
the other filesystems. But what is shown is correct.

You know you could have a look.

Regards
Lars
Hobbithobbyist

Http://leopg9.no-ip.org
----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Saturday, April 30, 2005 8:29 AM
Subject: Re: [hobbit] Trends

On Sat, Apr 30, 2005 at 08:10:58AM +0200, lars ebeling wrote:
In the disk-column I get all filesystems in the graphs, but only %-usage.
Oh - I misunderstood you then. So you mean that on the "disk" status the
graph is correct (it shows percentage instead of actual KB used, but
other than that it is OK) ? The problem is only with the graph on the
"trends" page ?

-- 
Henrik Storner

list Henrik Størner · Sat, 30 Apr 2005 09:01:03 +0200 ·
quoted from Lars Ebeling
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) {