[rrd-users] Re: rrdtool fetch returns in scientific notation (help!)
Sandor W. Sklar
ssklar at stanford.edu
Thu Apr 12 01:06:05 MEST 2001
wow, that was certainly a speedy, arrogant, and thoroughly unhelpful response.
$ grep scientific rrdtutorial.txt ; echo $?
1
... from the tutorial ...
rrdtool create test.rrd --start 920804400 DS:speed:COUNTER:600:U:U
RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10
... ok ...
rrdtool update test.rrd 920804700:12345 920805000:12357 920805300:12363
rrdtool update test.rrd 920805600:12363 920805900:12363 920806200:12373
rrdtool update test.rrd 920806500:12383 920806800:12393 920807100:12399
rrdtool update test.rrd 920807400:12405 920807700:12411 920808000:12415
rrdtool update test.rrd 920808300:12420 920808600:12422 920808900:12423
... ok ...
rrdtool fetch test.rrd AVERAGE --start 920804400 --end 920809200
speed
920804400: NaNQ
920804700: NaNQ
920805000: 4.0000000000e-02
920805300: 2.0000000000e-02
920805600: 0.0000000000e+00
920805900: 0.0000000000e+00
920806200: 3.3333333333e-02
920806500: 3.3333333333e-02
920806800: 3.3333333333e-02
920807100: 2.0000000000e-02
920807400: 2.0000000000e-02
920807700: 2.0000000000e-02
920808000: 1.3333333333e-02
920808300: 1.6666666667e-02
920808600: 6.6666666667e-03
920808900: 3.3333333333e-03
920809200: NaNQ
... gee, that doesn't look like the example output in the tutorial!
lets see what the tutorial says:
If it doesn't, something may be wrong. Perhaps your OS will
print "NaN" in a different form.
... ok, not a problem.
It represents "Not A
Number". If your OS writes "U" or "UNKN" or something
similar that's okay.
... ok, not a problem.
If something else is wrong, it will
probably be due to an error you made (assuming that my
tutorial is correct of course :-). In that case: delete the
database and try again.
... hmmm, well I cut and pasted from the tutorial, so it seems that
perhaps the tutorial is not correct for all versions of rrdtool under
all operating systems that it may be running under.
At 12:37 AM +0200 4/12/01, Alex van den Bogaerdt wrote:
>Sandor W. Sklar wrote:
>>
>> I'm brand-new at using rrdtool, and I'm trying to get my feet wet
>> with a simple RRD, but I'm already hitting a problem:
>
>The problem is not with the program, it is with you.
>
>> any clues?
>
>Clues are available in the documentation directory, file tutorial
>with the extention of your choice.
>
>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 |
>+----------------------------------------------------------------------+
--
sandor w. sklar
unix systems administrator
stanford university itss-css
--
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