[rrd-users] Re: Multible RRD files on one graph
serge.maandag at staff.zeelandnet.nl
Wed Nov 20 13:33:23 MET 2002
You can make a cdef for every instance.
def raw1=.....path to ds...
cdef filtered1=if unknown then zero
make one of those for every ds
And in your final cdef sum the filtered values in stead of the raw
That way it does not matter how many ds's your adding and to which
router they belong.
From: Mohamed Eldesoky [mailto:m.eldesoky at tedata.net]
Sent: Wednesday, November 20, 2002 12:49 PM
To: Serge Maandag; rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] Re: Multible RRD files on one graph
I have read about it in the rrdtool tutorial page.
But the problem is, we really have many routers.
And we need to plot totals for different values and not always for those
routers ( it is a complicated network)
So, if we go with defining the CDEF manually, it will be a headache.
I mean in the CDEF
CDEF: result = value, 0, if doesn't help because I have a varying number
routers, and changing every few days.
I think changing the newest rrd file by padding extra 0's in the past is
proper solution for us, but HOW TO determine the proper RRA number and
is the number of ROWS to add in order to get one year in the past !!!
On Wednesday 20 November 2002 1:29 pm, Serge Maandag wrote:
> You can exclude unknown values in a cdef (if unknown then 0 else
> There have been a number of posts on this subject in the list. Do a
> search in google.
> Something like
> -----Original Message-----
> From: Mohamed Eldesoky [mailto:m.eldesoky at tedata.net]
> Sent: Wednesday, November 20, 2002 12:20 PM
> To: rrd-users at list.ee.ethz.ch
> Subject: [rrd-users] Multible RRD files on one graph
> Hello all
> I want to graph the total of Bandwidth utilized by our routers.
> We have rrd file for each router.
> Hence I graph them ( I use cacti) using the CDEF: total all data
> The problem is, not all routers were up at the same time.
> We have new routers, that we want to be summed with old routers as
> You all know what my problem is, the total will only be graphed for
> the newest router is on !!, otherwise the data will be UNKNOWN.
> I think I can use rrdtool resize rrdfilename rra_num GROW num_of_rows
> that file the same size as the oldest, and make the unknown values
> there, to
> be ( 0 )
> Well, I want to know what governs the rra numbers ??
> I want to know if my method is correct or not !!!
> Any updates ??
> Mohamed Eldesoky
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users