Hi<br><br>i request a small help because i don't know RRD.<br><br><br>I create the database:<br><br>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<br>
<br>i sent data all 5 mn:<br><br>/usr/bin/rrdupdate /var/spool/Rrdtool/waninet.rrd N:InOctets:OutOctets<br><br>and create the graph:<br><br>rrdtool graph /var/www/stats/waninet_ifday.gif \<br>-t "$TITRE Historique sur une journée" \<br>
-v "bits/s" \<br>--font 'DEFAULT:0:DejaVuSansMono' \<br>-w 500 -h 120 \<br>--slope-mode \<br>--alt-autoscale \<br>--start $NOW1D \<br>--end $NOW \<br>DEF:downaverage=$RRDATAPATH/$DATABASE:ifin:AVERAGE \<br>
DEF:upaverage=$RRDATAPATH/$DATABASE:ifout:AVERAGE \<br>CDEF:inaverage=downaverage,8,* \<br>CDEF:outaverage=upaverage,8,* \<br>VRULE:1120687200#EE00EE: \<br>GPRINT:inaverage:MAX:"IN Max\: %6.2lf %s" \<br>GPRINT:inaverage:MIN:"Min\: %6.2lf %s" \<br>
GPRINT:inaverage:AVERAGE:"Moy\: %6.2lf %s" \<br>GPRINT:inaverage:LAST:"Last\: %6.2lf %s" \<br>AREA:inaverage#00EE00:"IN bps \l" \<br>GPRINT:outaverage:MAX:"OUT Max\: %6.2lf %s" \<br>
GPRINT:outaverage:MIN:"Min\: %6.2lf %s" \<br>GPRINT:outaverage:AVERAGE:"Moy\: %6.2lf %s" \<br>GPRINT:outaverage:LAST:"Last\: %6.2lf %s" \<br>LINE1:outaverage#0000FF:"OUT bps " \<br>
<br><br><br><br>That work greats (i have get this data by google, it's not me)<br><br><br>Anyone can help me ? i want:<br><br>1- Create the same base but on 12 mounth for all 5mn <br>2- add a 95 percentiles information<br>
<br>if you can modify my 3 scripts ;=) because read and undertsand all documentation is very long.<br><br>very thanks<br>Olivier<br>