Re: [rrd-users] Question about RRDTool ..

This is a discussion on Re: [rrd-users] Question about RRDTool .. within the RRD Users forums, part of the Networking and Network Related category; Jean-Yves Avenard wrote: >On Fri, Mar 21, 2008 at 1:00 AM, Simon Hobson <linux@thehobsons.co....


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-20-2008
Simon Hobson
 
Posts: n/a
Default Re: [rrd-users] Question about RRDTool ..

Jean-Yves Avenard wrote:

>On Fri, Mar 21, 2008 at 1:00 AM, Simon Hobson <linux@thehobsons.co.uk> wrote:
>> rrdtool graph ... -s ${Start} -e ${End} -w ${Pixels} ...
>>

>
>This would show 400*5 minutes worth of data.
>
>Ok...
>
>I'm a bit confused with how RRDtool calculate the data quite frankly.
>
>In another example, I collect data every minute. The data is discrete.
>I made sure the data is entered using timestamps that are a multiple of 60.
>
>Using rrdtool fetch data.rrd AVERAGE, I can see the data as I've
>entered it for every minute.
>However, when I draw my graph like this:
>
>rrdtool graph images/speedday.png -l 0 \
>-t 'Sync Speed - DAILY' \
>--step 60 --end 1206032280 --start 1206003420 \
>-x HOUR:1:HOUR:4:HOUR:2:0:%k \



>When I run rrdtool fetch AVERAGE, I can see all my data, and I see
>that the minimum value is 13940.
>However, in the graph, it tells me that the minimum value is 13948.
>Same for the maximum, looking at the data returned by fetch, it should
>be 14048, but in the graph it shows 14036.


Normalisation

OK, I'll mention it again - NORMALISATION

end-start is 481 sample periods, width is 400 pixels (the default
since you have failed to explicitly set it), therefore the data is
normalised to fit the graph. You'll note that in the example I gave,
I explicitly set the width of the graph to fit the number of samples
being graphed.

If you make the width of the graph in pixels equal to the number of
samples in the time span then the data will not be normalised and you
will get slightly different results.

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0