[drraw-users] Combining multiple DS Templates

Philipp Richter philipp.richter at linbit.com
Thu Mar 22 09:20:13 EDT 2007


Hi,

I'm using collectd as my rrd-agent. I would like to produce filesystem usage 
graphs out of the data from collectd. For every mountpoint collectd makes a 
rrd file with 2 datasources (free and used bytes). I would like to use drraw 
to graph a percent value out of these ds's for _every_ mountpoint on _one_ 
graph.

if i would do this statically i would define 2 datasources (i.e. a:df-root.rrd 
[used], b: df-root.rrd [free]) and then apply a cdef (i.e. 100,a,*,a,b,+,/) 
to calculate the percent value.

but of course i have more mount points than "root" so i would like to do this 
dynamically based on regular expressions. here is an example of what i try to 
do: 
http://haroon.sis.utoronto.ca/perl/rrd.cgi/localhost_stats/disk_usage.html

it seems this is currently not possible with drraw. did i overlook something  
or is something like this planned in a future version?

cheers,
-- 
: Philipp Richter                                 Tel +43-1-8178292-51 :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe          http://www.linbit.com :


More information about the drraw-users mailing list