[rrd-users] Re: Teething problems with rrdtool "expected 5 data source readings (got 4) from..."

Alex Nguyen anguyen at videotron.net
Mon Dec 9 18:48:33 MET 2002


Hi,

You create rrd with 5 DS (Data Source), but you update with only 4 values
in :

$ rrdtool update cl.rrd 1038268800:3.085:0.982:0.705:0.321

1038268800 = timestamp
3.085 = DS1
0.982 = DS2
0.705 = DS3
0.321 = DS4

DS5 is missing.

A.

On Mon, 9 Dec 2002, Adam Nealis wrote:

AN> Date: Mon, 09 Dec 2002 09:35:43 -0800 (PST)
AN> From: Adam Nealis <adamnealis at yahoo.co.uk>
AN> To: rrd-users at list.ee.ethz.ch
AN> Subject: [rrd-users] Teething problems with rrdtool "expected 5 data
AN>     source readings (got 4) from..."
AN> 
AN> 
AN> As a way to get the hang of rrdtool I decided to create
AN> graphs of daily price changes in some funds I invested
AN> in. So I expect to be able to draw a graph consisting of
AN> 4 lines on one graph.
AN> 
AN> But when I run
AN> 
AN> $ rrdtool update
AN> 
AN> as below, with the
AN> 
AN> $ rrdtool create
AN> 
AN> as below, I get the following error message:
AN> 
AN> ERROR: expected 5 data source readings (got 4) from 1038268800:3.085:0.982:0.705:0.321:...
AN> 
AN> What am I doing wrong? I have RTFM, and gone through the tutorial
AN> but I can't work out what I am doing wrong.
AN> 
AN> Thanks in advance for any help,
AN> 
AN> Adam Nealis
AN> 
AN> 
AN> $ rrdtool --version
AN> RRDtool 1.0.38  Copyright 1997-2001 by Tobias Oetiker <tobi at oetiker.ch>
AN> 
AN> $ rrdtool create cl.rrd --start 1038268800 -s 86400 \
AN>         DS:Day:COUNTER:86400:U:U \
AN>         DS:MLIM_Global_Bond:GAUGE:86400:U:U \
AN>         DS:Schroders_UK_Mid:GAUGE:86400:U:U \
AN>         DS:Threadneedle_UK_S_G:GAUGE:86400:U:U \
AN>         DS:Fidelity_Japan:GAUGE:86400:U:U \
AN>         RRA:LAST:0.99:86400:730
AN> 
AN> $ rrdtool update cl.rrd 1038268800:3.085:0.982:0.705:0.321
AN> 
AN> __________________________________________________
AN> Do you Yahoo!?
AN> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
AN> http://mailplus.yahoo.com
AN> 
AN> --
AN> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
AN> Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
AN> Archive     http://www.ee.ethz.ch/~slist/rrd-users
AN> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
AN> 

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