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; --- Alex van den Bogaerdt <alex@ergens.op.het.net> wrote: > On Tue, Jun 26, 2007 at 02:...


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


--- Alex van den Bogaerdt <alex@ergens.op.het.net>
wrote:

> On Tue, Jun 26, 2007 at 02:34:19PM -0700, Gore
> Jarold wrote:
>
> > My question is simple: How do I plug in 6 test

> values with 6 specific dates and successfully fetch
> them back out again _exactly as I entered them_ ?
>
> RRDtool behaviour is well documented. You have
> selected a step
> size of 86400, so every timestamp is a whole
> multiple of 86400.



Yes, I see that it is - and that is good, but it's the
_wrong_ multiple of 86400 - the dates coming out of my
RRD are (as far as I can tell) random.

Look at my create statement:

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

Notice how the --start is 1141200000 ?

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.

So where did those dates come from ? The fact that
they are all +86400 from each other is not useful when
they are not the data I entered...

(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

Yes, I have read the HOWTOs - as you can see all of my
command lines are just fine. What I would like to
know is, how do I put in certain data and then get
that same data back out ? As you can see I was not
able to here...







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

vB 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 02:21 PM.


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