[rrd-users] Exact Entry for 95 percentiles ?

Olivier CALVANO o.calvano at gmail.com
Sun Nov 22 11:13:44 CET 2009


i request a small help because i don't know RRD.

I create the database:

rrdtool create waninet.rrd DS:ifin:COUNTER:576:0:1000000
DS:ifout:COUNTER:576:0:1000000 RRA:AVERAGE:0.5:1:576 RRA:AVERAGE:0.5:6:336
RRA:AVERAGE:0.5:72:124 RRA:AVERAGE:0.5:144:732 RRA:MAX:0.5:1:576
RRA:MAX:0.5:6:336 RRA:MAX:0.5:72:124 RRA:MAX:0.5:144:732i

i sent data all 5 mn:

/usr/bin/rrdupdate /var/spool/Rrdtool/waninet.rrd N:InOctets:OutOctets

and create the graph:

rrdtool graph /var/www/stats/waninet_ifday.gif \
-t "$TITRE Historique sur une journée" \
-v "bits/s" \
--font 'DEFAULT:0:DejaVuSansMono' \
-w 500 -h 120 \
--slope-mode \
--alt-autoscale \
--start $NOW1D \
--end $NOW \
CDEF:inaverage=downaverage,8,* \
CDEF:outaverage=upaverage,8,* \
VRULE:1120687200#EE00EE: \
GPRINT:inaverage:MAX:"IN Max\: %6.2lf %s" \
GPRINT:inaverage:MIN:"Min\: %6.2lf %s" \
GPRINT:inaverage:AVERAGE:"Moy\: %6.2lf %s" \
GPRINT:inaverage:LAST:"Last\: %6.2lf %s" \
AREA:inaverage#00EE00:"IN bps \l" \
GPRINT:outaverage:MAX:"OUT Max\: %6.2lf %s" \
GPRINT:outaverage:MIN:"Min\: %6.2lf %s" \
GPRINT:outaverage:AVERAGE:"Moy\: %6.2lf %s" \
GPRINT:outaverage:LAST:"Last\: %6.2lf %s" \
LINE1:outaverage#0000FF:"OUT bps " \

That work greats (i have get this data by google, it's not me)

Anyone can help me ? i want:

1- Create the same base but on 12 mounth for all 5mn
2- add a 95 percentiles information

if you can modify my 3 scripts ;=) because read and undertsand all
documentation is very long.

very thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20091122/73263ea8/attachment.htm 

More information about the rrd-users mailing list