[rrd-users] Re: Storing more than just one value per data-point? Any Idea???

Sven Hessenmueller Sven.Hessenmueller at gmx.de
Sun Aug 17 18:40:12 MEST 2003


On Son, 2003-08-17 at 05.32PM +200, Alex van den Bogaerdt wrote:

> > Is it possible to store more than one value in just one data-point of
> > RRD? At the moment i'm filling one RRD with 0 | 1 and another with the
> > belonging connection-time, but this is, of course, a real waste of
> > harddisk-space, beacause both data belongs together... and in the RRD
> > where im storing just a 0 or an 1, there should be much space left (RRD
> > uses 32Bit for one data-point?) ...
> 
> So, if the time cannot exceed 180, why don't you combine the time with
> the availability?
> 
> like this: if  time>180  then service was not available

Uhmm... shame on me. :-) I've just complicated simple things again.


> RRDtool is consolidating because you display 100 hours on 600 pixels:
> (100 hours = 100*3600=360000 seconds = 1200 CDPs = 2 CDPs per pixel)
> 
> values      consolidated           meaning
> 
> 10,20       (10+20)/2=15           on average 15 ms
> 10,100000   (10+100000)/2=50005    unavailable
> 10,300      (10+300)/2=155         on average 155 ms
> 
> 
> In reality, the 3rd consolidated point should display as unavailable.
> 

Thanks for the detailed answer - fits excactly to my needs! (and the
grapher-problem you're pointing on here, i surely would have forgotten
if you didn't tell me...).


Sven.



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