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

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Nov 8 11:00:03 MET 2001


Jon Heugh wrote:

>     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" .

And it is right.  There is a difference between the CF "LAST" and the
function used in (G)PRINT.  MRTG generated RRD files don't contain RRAs
other than MAX and AVERAGE.  If you need MIN and/or LAST, you need to
create the database yourself.

To print the last seen value (using GPRINT) you don't need a special CF.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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