[rrd-users] Re: Units in fetch for DST type COUNTER

Serge Maandag serge.maandag at staff.zeelandnet.nl
Wed Apr 14 21:16:05 MEST 2004


> fetch on an rrd with DST defs of type COUNTER the results 
> are incorrect. They are incorrect
> in that the numbers returned are decimal numbers that 
> correspond to the units displayed on a rrd graph.  For 
> example...lets use 4 data points shown on an rrd graph:
> > 3649
> > 2336
> > 2411
> > 7828
> >
> > The result of a graph has a y-axis that shows "tick-marks" 
> in "k" units. Like....1k...2k...3k...4k...etc.
> >
> > When I do a fetch the values show up as:
> >
> > 3.6
> > 2.3
> > 2.4
> > 7.8

That's odd..

When I do a rrdtool fetch, the results look like:

1081883400: 9.1000000000e+02 9.7900000000e+02 9.0500000000e+02
1081883700: 9.1000000000e+02 9.7900000000e+02 9.0500000000e+02
1081884000: 9.1000000000e+02 9.7900000000e+02 9.0500000000e+02

Are you sure you are quoting the raw output?

Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

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