[rrd-users] Re: basic debug,first rrd.

Joe DeFelice joe at mirrorimage.net
Sun Nov 9 02:13:26 MET 2003


Hunter,

In your graph creation, you haven't defined what ds1-ds10 represent or made
any reference at all to which rrd they exist in. You need something like:

rrdtool graph speed.png                              \
       --title="Test Graph" \
       DEF:ds1=test.rrd:ds1:AVERAGE \
        DEF:ds2=test.rrd:ds2:AVERAGE \
        DEF:ds3=test.rrd:ds3:AVERAGE \
        DEF:ds4=test.rrd:ds4:AVERAGE \
        DEF:ds5=test.rrd:ds5:AVERAGE \
        DEF:ds6=test.rrd:ds6:AVERAGE \
        DEF:ds7=test.rrd:ds7:AVERAGE \
        DEF:ds8=test.rrd:ds8:AVERAGE \
        DEF:ds9=test.rrd:ds9:AVERAGE \
        DEF:ds10=test.rrd:ds10:AVERAGE \
        LINE1:ds1#1e4477:"1"\
        LINE1:ds2#2f4477:"2"\
        LINE1:ds3#404477:"3"\
        LINE1:ds4#514477:"4"\
        LINE1:ds5#624477:"5"\
        LINE1:ds6#734477:"6"\
        LINE1:ds7#844477:"7"\
        LINE1:ds8#954477:"8"\
        LINE1:ds9#a64477:"9"\
        LINE1:ds10#b74477:"10"

whish should produce a graph.

Good luck,

Joe

----- Original Message ----- 
From: "Hunter Peress" <hunterp at fastmail.fm>
To: <rrd-users at list.ee.ethz.ch>
Sent: Saturday, November 08, 2003 7:04 PM
Subject: [rrd-users] basic debug,first rrd.


> first in a  long time anyway/ here is the script:
>
> rrdtool create test.rrd             \
>         --start N          \
>         DS:ds1:GAUGE:600:U:U  \
>         DS:ds2:GAUGE:600:U:U \
>         DS:ds3:GAUGE:600:U:U \
>         DS:ds4:GAUGE:600:U:U \
>         DS:ds5:GAUGE:600:U:U \
>         DS:ds6:GAUGE:600:U:U \
>         DS:ds7:GAUGE:600:U:U \
>         DS:ds8:GAUGE:600:U:U \
>         DS:ds9:GAUGE:600:U:U \
>         DS:ds10:GAUGE:600:U:U \
>         RRA:AVERAGE:0.5:1:24
>
> rrdtool update test.rrd
>
N:15341273:14508064:11497177:10533432:9502975:9219205:8556908:8551365:755480
2:7404515
>
> rrdtool graph speed.png                              \
>       --height 800 --width 600              \
>         LINE1:ds1#1e4477:"1"\
>         LINE1:ds2#2f4477:"2"\
>         LINE1:ds3#404477:"3"\
>         LINE1:ds4#514477:"4"\
>         LINE1:ds5#624477:"5"\
>         LINE1:ds6#734477:"6"\
>         LINE1:ds7#844477:"7"\
>         LINE1:ds8#954477:"8"\
>         LINE1:ds9#a64477:"9"\
>         LINE1:ds10#b74477:"10"
>
>
>
> AND the error:
>
> ERROR: illegal attempt to update using time 1068336222 when last update
> time is 1068336222 (minimum one second step)
> ERROR: unknown variable 'ds1'
>
>
> MY question. well A: how to get it working. B: why does it talk of a step
> if all i am giving it is 1 data point (for 10 streams).
>
>
> -- 
>   Hunter Peress
>   hunterp at fastmail.fm
>
> --
> 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
>
>


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