Well, here's any pointer: Your database has a couple of RRA's defined. Each RRA is made up of consolidated data points (CDP's). The CDP's are built by averaging multiple Primary Data Points (PDP's).
Therefore a PDP spans a certain amount of time. If the step size is 300 seconds and your second RRA is defined as: RRA:AVERAGE:0.5:6:288 the the timespan covered by each PDP is 6 x 300 = 1800 seconds or half an hour. If you'd make a CDEF bytes=bps,1800,* and graph that, the bars would show the amount of data that went through each half hour. Now that's not what your looking for. You are looking for 1 hour wide bars. To accomplish that, you could make a database with other RRA's. one that holds 1 hour values for a day, 24 hour values for a month, etc. You probably also could do sophisticated stuff with the new version of rrdtool by making cdef's with the prev and time functions, but I never fiddled with those, so you are on your own. Serge. -----Original Message----- From: Andre Miller [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2003 9:53 PM To: [email protected] Subject: [rrd-users] Graphing Total Bandwidth Hi, I've tried to find an answer to this question by searching the archive - but have not been able to locate a suitable answer, sorry if its been answered before and I missed it. Currently I am collecting interface data (in octets, out octets) every 5 minutes and are graphing it showing average throughput (in bytes/second). I want an additional graph showing bandwidth usage, in bytes, doesn't really matter. I have not been able to get this right. To explain a bit better, what I want is three different graphs: Daily: X axis: one point/bar per hour, Y axis: Total amount of bytes transferred in that hour. Monthly: X axis, one point/bar per day, Y axis: Total amount of bytes transferred in that day. Yearly: X axis, one point/bar per month, Y axis, Total amount of bytes transferred in that month. So for example, on the daily graph, if between 13:00 and 14:00, 5 megabytes was transferred, the bar will show 5mb for that point. Any help / pointers would be appreciated. I've heard that anything is possible with rrdtool - so I must be able to do this =). - Andre' Miller -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
