Re: RRDTool - Create [message #27092 is a reply to message #27064] |
Fri, 08 February 2008 17:18 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
eugeniopacheco
Messages: 40 Registered: November 2005
|
Member |
|
|
Hi,
Actually after reading rrdcreate's man page I noticed what was wrong and used the following:
rrdtool create $RRDFILE --step 300 \
DS:VEIN:COUNTER:1800:0:4294967295 \
DS:VEOUT:COUNTER:1800:0:4294967295 \
RRA:AVERAGE:0.5:1:2016 \
Does anyone recommend anything different? Also, rrdtool fetch /var/lib/rrd/<veid>.rrd AVERAGE -s -3600 returns something like:
VEIN VEOUT
1202487300: 3.4449437980e+03 6.9849019057e+04
1202487600: 7.1076855516e+03 1.2289529187e+05
1202487900: 6.4429443605e+03 1.2638349476e+05
1202488200: 6.1063845867e+03 1.0303899827e+05
1202488500: 7.5643142084e+03 1.3723686258e+05
1202488800: 7.8674973670e+03 1.0243710066e+05
1202489100: 6.2607785403e+03 1.8215705961e+05
1202489400: 8.8617432437e+03 2.2748972868e+05
1202489700: 8.0197645474e+03 2.2559687883e+05
1202490000: 8.4259454226e+03 2.1643212370e+05
1202490300: 1.1831007105e+04 1.6583397290e+05
1202490600: 6.7288236935e+03 1.4106730947e+05
1202490900: nan nan
Can anyone tell me what it means? Or am I using it wrong? I know it shows the data collected on the last 3600 seconds and as it's collected every 300 seconds it shows each collection. Would it be in bytes? like 344bytes in and 6984bytes out on the first collection? Also, can anyone suggest how to graph it nicely for bandwidth usage?
Thanks in advance,
Eugenio Pacheco
|
|
|