Re: [rrd-users] can't sanity-check rrdtool with sample data ...

This is a discussion on Re: [rrd-users] can't sanity-check rrdtool with sample data ... within the RRD Users forums, part of the Networking and Network Related category; Simon, Thank you for your response - you did make things clearer - see additional comments below, please: --- Simon Hobson <linux@...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2007
Gore Jarold
 
Posts: n/a
Default Re: [rrd-users] can't sanity-check rrdtool with sample data ...


Simon,

Thank you for your response - you did make things
clearer - see additional comments below, please:

--- Simon Hobson <linux@thehobsons.co.uk> wrote:

> >Now look at my update statement - the first date is
> >+86400 after --start, and each subsequent date is
> >+86400 after the previous one:
> >
> >rrdtool update hits.rrd 1141286400:1 1141372800:10
> >1141459200:10 1141545600:12 1141632000:12
> >1141718400:12
> >
> >So now look at the output of:
> >
> >rrdtool fetch hits.rrd MAX --start 1141200000 --end
> >1141718400
> >
> >1141257600: 1.0000000000e+00
> >1141344000: 7.0000000000e+00
> >1141430400: 1.0000000000e+01
> >1141516800: 1.1333333333e+01
> >1141603200: 1.2000000000e+01
> >1141689600: 1.2000000000e+01
> >
> >Hmm... how very odd ... NOT ONE of those dates is

> in
> >my 'rrdtool update' command. Every single one of
> >those six dates above is _from nowhere_. I didn't
> >start my RRD at any of those dates, and I have not
> >entered data for any of those dates.

>
> They didn't come from nowhere. 1141257600 is 00:00,
> 13209 days from 1 Jan 1970.



Ok, that helps _a lot_. I must say that the
documentation was not clear on this point - I saw no
distinction one way or another, so my natural instinct
was that the (step size) increments began after
--start time, NOT after epoch.

So again, thank you - that helps very much. Please do
consider that this is _not_ obvious in the HOWTOs.



> >(and this, of course, does not even mention the

> fact
> >that my data input was:
> >
> >1, 10, 10, 12, 12, 12
> >
> >and 'fetch' output:
> >
> >1, 7, 10, 11.3, 12, 12



So this is the other problem - and I'll just make the
question easy:

If my update command is:

rrdtool update hits.rrd 1141286400:1 1141372800:10
1141459200:10 1141545600:12 1141632000:12
1141718400:12

and I want my output with fetch to give me:

1,10,10,12,12,12

Then what is wrong with my 'rrdtool create' statement:

rrdtool create hits.rrd --start 1141200000 --step
86400 DS:hits:GAUGE:172800:0:U RRA:MAX:0.5:1:3650

because right now, instead of the 1,10,10,12,12,12
that I put in, I am getting:

1141257600: 1.0000000000e+00
1141344000: 7.0000000000e+00
1141430400: 1.0000000000e+01
1141516800: 1.1333333333e+01
1141603200: 1.2000000000e+01
1141689600: 1.2000000000e+01

when I fetch it back out ... (1,7,10,11.3,12,12)

Thank you.


__________________________________________________ __________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yah...invite.asp?a=7


_______________________________________________
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 01:36 AM.


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