[rrd-users] retrieving ds0:LAST values in rrdtool.

Jon Heugh jon at heugh.com
Thu Nov 8 01:41:52 MET 2001


Hello All;
    I am using the cfgmaker to make my mrtg.cfg files and mrtg is making my
rrd data files. when I try to retrieve the ds0:LAST values in rrdtool is
returns the Error "the RRD does not contain an RRA matching the chosen CF" .
When I look at the rrd data file via the rrdtool dump program I only see the
MAX and Average CF.  what am I doing wrong? how do I tell mrtg to write the
LAST CF into the rrd data files?  Or is it simpler then that ?   Here is a
code sample of how I am calling the ds0:LAST.

############################################
# These are the raw data from the rrd log  #
############################################
push @RRD_args, "DEF:rawmaxin=$RRd:ds0:MAX";
push @RRD_args, "DEF:rawmaxout=$RRd:ds1:MAX";
push @RRD_args, "DEF:rawaveragein=$RRd\:ds0:AVERAGE";
push @RRD_args, "DEF:rawaverageout=$RRd\:ds1:AVERAGE";
push @RRD_args, "DEF:rawcurrentin=$RRd\:ds0:LAST";
push @RRD_args, "DEF:rawcurrentout=$RRd\:ds1:LAST";

Both MAX and Average work fine.

Thanks in advance
Jon Heugh








--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list