Hello moose,<br>Why do you think you are drawing wrong speed values?<br>Regards.<br><br><div class="gmail_quote">2011/5/23 moose <span dir="ltr"><<a href="mailto:moose@email.ua">moose@email.ua</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi everybody!<br>
<br>
<br>
For the first , I'm using Freebsd 8.1, perl-5.10.1_3 , rrdtool-1.4.5<br>
<br>
I'm trying to make graphics of speed taking data from traffic and time<br>
intervals<br>
<br>
I create rrd data file with this command<br>
<br>
rrdtool create data.rrd --start 1306144107 \<br>
DS:in_traf:ABSOLUTE:900:0:U \<br>
DS:out_traf:ABSOLUTE:900:0:U \<br>
DS:in_ex:ABSOLUTE:900:0:U \<br>
DS:out_ex:ABSOLUTE:900:0:U \<br>
RRA:AVERAGE:0.5:1:4800 \<br>
RRA:AVERAGE:0.5:4:4800 \<br>
RRA:AVERAGE:0.5:24:3000 \<br>
RRA:AVERAGE:0.5:24:3000<br>
<br>
<br>
then I'm using a script which updates data.rrd<br>
<br>
the data look's like this:<br>
<br>
1306141169:0:0:0:0<br>
1306141289:9172384:282192:0:0<br>
1306141345:16245755:404806:0:0<br>
1306141353:0:0:0:0<br>
1306141473:12414:5041:0:0<br>
1306141593:1213379:60122:0:0<br>
1306141713:16158157:314613:0:0<br>
1306141833:30772759:555491:0:0<br>
1306141953:45387027:795627:0:0<br>
1306142073:47617329:832398:0:0<br>
1306142177:58061055:1048766:0:0<br>
1306142185:0:0:0:0<br>
1306142305:13381823:262874:0:0<br>
1306142425:28328969:507801:0:0<br>
1306142545:39879467:700374:0:0<br>
1306142665:39978882:717793:0:0<br>
1306142786:54646886:988551:0:0<br>
1306142907:70056236:1241033:0:0<br>
1306143027:85338085:1492768:0:0<br>
1306143147:99724539:1767412:0:0<br>
1306143267:113580324:2004315:0:0<br>
1306143387:127187549:2234010:0:0<br>
1306143507:140820894:2461959:0:0<br>
1306143627:150649717:2666047:0:0<br>
1306143747:155830409:2755337:0:0<br>
1306143867:155830481:2755397:0:0<br>
1306143987:155831017:2756897:0:0<br>
1306144107:155832639:2758684:0:0<br>
<br>
at the end I'm creating graphics with such command<br>
<br>
rrdtool graphv graphic-daily_1.png \<br>
-w500 \<br>
-h100 \<br>
-b 1024 \<br>
--title Daily \<br>
--start -12h \<br>
--end now \<br>
--imgformat PNG \<br>
--interlace \<br>
DEF:in_traf=data.rrd:in_traf:AVERAGE \<br>
DEF:out_traf=data.rrd:out_traf:AVERAGE \<br>
DEF:in_ex=data.rrd:in_ex:AVERAGE \<br>
DEF:out_ex=data.rrd:out_ex:AVERAGE \<br>
AREA:in_traf#00DD00:in_traf \<br>
LINE1:out_traf#F15500:out_traf \<br>
AREA:in_ex#FF0000:in_ex \<br>
LINE1:out_ex#0561FA:out_ex<br>
<br>
but it drowing wrong speed information<br>
<br>
<a href="http://rrd-mailinglists.937164.n2.nabble.com/file/n6393760/graphic-daily_1.png" target="_blank">http://rrd-mailinglists.937164.n2.nabble.com/file/n6393760/graphic-daily_1.png</a><br>
<br>
<br>
Could someone suggest what do or where's my fault?<br>
<br>
Thanks<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://rrd-mailinglists.937164.n2.nabble.com/how-correctly-make-speed-graphics-tp6393760p6393760.html" target="_blank">http://rrd-mailinglists.937164.n2.nabble.com/how-correctly-make-speed-graphics-tp6393760p6393760.html</a><br>
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rrd-users mailing list<br>
<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
</font></blockquote></div><br>