[rrd-users] Mu graphs are incomplete
zetagg
zetagg at gmail.com
Sun Mar 14 09:53:02 CET 2010
Hi!!
First of all an apology for my bad english, but is not my native lenguage.
I use scripts in bash to create several graphs about the flow in my network.
The version of my tools are:
- Ubuntu Server 8.04
- RRDtool 1.3.1
- IPFM 0.11.5
I defined the RRA's like this:
rrdtool create $HOSTDIR/$i.rrd -s 300 \
DS:In:GAUGE:600:0:U \
DS:Out:GAUGE:600:0:U \
DS:Total:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:744 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797
And the graphs like this:
rrdtool graph $GRAPHDIR/$i.gif --end now --start end-480m --width 600
--height 250 \
--title "HOST $i" --vertical-label "Bits por segundo" --watermark ZETA \
--color CANVAS#000000 \
--color BACK#000000 \
--color FRAME#000000 \
--color FONT#FFFFFF \
--color ARROW#E70C0C \
--lower-limit=0 \
DEF:hostIn=$HOSTDIR/$i.rrd:In:AVERAGE LINE1:hostIn#0881C6:"Bytes In "
\
GPRINT:hostIn:MAX:"Max %lg%s" \
GPRINT:hostIn:AVERAGE:"Average %lg%s\\n" \
DEF:hostOut=$HOSTDIR/$i.rrd:Out:AVERAGE LINE1:hostOut#B80D77:"Bytes Out
" \
GPRINT:hostOut:MAX:"Max %lg%s" \
GPRINT:hostOut:AVERAGE:"Average %lg%s\\n" \
DEF:hostTotal=$HOSTDIR/$i.rrd:Total:AVERAGE LINE1:hostTotal#508B1D:"Bytes
Total " \
GPRINT:hostTotal:MAX:"Max %lg%s" \
GPRINT:hostTotal:AVERAGE:"Average %lg%s\\n" \
COMMENT:"Actualizando...\r"
But i can't make it look fine, because is not completely filled. I add an
image so you can see the result
http://n2.nabble.com/file/n4731012/132.248.7.247.png
There are minutes or even hours without data, and i'm shure there is
information to show because y keeps the text dump of ipfm as a history.
If you have any idea why this happens I would appreciate your help.
Thanks in advance!
--
View this message in context: http://n2.nabble.com/Mu-graphs-are-incomplete-tp4731012p4731012.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users
mailing list