[rrd-users] Consolidated Function

Shameem Ahamed shameem.ahamed at yahoo.com
Tue May 18 09:33:13 CEST 2010


Hi,

I have a RRD which stores multiple DS in a single rrd file. Currently I am storing 10 DS in a single file. The create function also defines 5 RRA with CF as MAX (to find out the maximum of each DS ). I have attached the pseudo code below.

DS:DS1:COUNTER
DS:DS2:COUNTER
DS:DS3:COUNTER
DS:DS4:COUNTER
DS:DS5:COUNTER
DS:DS6:COUNTER
DS:DS7:COUNTER
DS:DS8:COUNTER
DS:DS9:COUNTER
DS:DS10:COUNTER
RRA:MAX:0:1:3
RRA:MAX:0:12:3
RRA:MAX:0:288:3
RRA:MAX:0:2016:3
RRA:MAX:0:60480:3


My doubt is, If I issue a fetch command

fetch out.rrd MAX -r 300 -e (int(time()/300))*300 -s e-900s

Which DS max result will be returned ?.

How can i get the max of respective DS stored in the RRD ?.

Regards,
Shameem








More information about the rrd-users mailing list