[rrd-users] how correctly make speed graphics

Jaime Lozano jaimelozano09 at gmail.com
Mon May 23 12:21:05 CEST 2011


Hello moose,
Why do you think you are drawing wrong speed values?
Regards.

2011/5/23 moose <moose at email.ua>

> Hi everybody!
>
>
> For the first , I'm using Freebsd 8.1, perl-5.10.1_3 , rrdtool-1.4.5
>
> I'm trying to make graphics of speed taking data from traffic and time
> intervals
>
> I create rrd data file  with this command
>
> rrdtool create data.rrd --start 1306144107 \
> DS:in_traf:ABSOLUTE:900:0:U \
> DS:out_traf:ABSOLUTE:900:0:U \
> DS:in_ex:ABSOLUTE:900:0:U \
> DS:out_ex:ABSOLUTE:900:0:U \
> RRA:AVERAGE:0.5:1:4800 \
> RRA:AVERAGE:0.5:4:4800 \
> RRA:AVERAGE:0.5:24:3000 \
> RRA:AVERAGE:0.5:24:3000
>
>
> then I'm using a script which updates data.rrd
>
> the data look's like this:
>
> 1306141169:0:0:0:0
> 1306141289:9172384:282192:0:0
> 1306141345:16245755:404806:0:0
> 1306141353:0:0:0:0
> 1306141473:12414:5041:0:0
> 1306141593:1213379:60122:0:0
> 1306141713:16158157:314613:0:0
> 1306141833:30772759:555491:0:0
> 1306141953:45387027:795627:0:0
> 1306142073:47617329:832398:0:0
> 1306142177:58061055:1048766:0:0
> 1306142185:0:0:0:0
> 1306142305:13381823:262874:0:0
> 1306142425:28328969:507801:0:0
> 1306142545:39879467:700374:0:0
> 1306142665:39978882:717793:0:0
> 1306142786:54646886:988551:0:0
> 1306142907:70056236:1241033:0:0
> 1306143027:85338085:1492768:0:0
> 1306143147:99724539:1767412:0:0
> 1306143267:113580324:2004315:0:0
> 1306143387:127187549:2234010:0:0
> 1306143507:140820894:2461959:0:0
> 1306143627:150649717:2666047:0:0
> 1306143747:155830409:2755337:0:0
> 1306143867:155830481:2755397:0:0
> 1306143987:155831017:2756897:0:0
> 1306144107:155832639:2758684:0:0
>
> at the end I'm creating graphics with such command
>
> rrdtool graphv graphic-daily_1.png \
> -w500 \
> -h100 \
> -b 1024 \
> --title Daily \
> --start -12h \
> --end now \
> --imgformat PNG \
> --interlace \
> DEF:in_traf=data.rrd:in_traf:AVERAGE \
> DEF:out_traf=data.rrd:out_traf:AVERAGE \
> DEF:in_ex=data.rrd:in_ex:AVERAGE \
> DEF:out_ex=data.rrd:out_ex:AVERAGE \
> AREA:in_traf#00DD00:in_traf \
> LINE1:out_traf#F15500:out_traf \
> AREA:in_ex#FF0000:in_ex \
> LINE1:out_ex#0561FA:out_ex
>
> but it drowing wrong speed information
>
>
> http://rrd-mailinglists.937164.n2.nabble.com/file/n6393760/graphic-daily_1.png
>
>
> Could someone suggest what do or where's my fault?
>
> Thanks
>
>
> --
> View this message in context:
> http://rrd-mailinglists.937164.n2.nabble.com/how-correctly-make-speed-graphics-tp6393760p6393760.html
> Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20110523/7c3229a2/attachment.htm 


More information about the rrd-users mailing list