[rrd-users] Graphing total bandwidth usage
Simon Amor
simon.a at webfusion.co.uk
Thu Mar 2 16:44:31 MET 2000
Hi,
I've just started using RRDtool-1.0.13 to log byte counts for each port on
each switch so we can monitor bandwidth for each server. The values are
combined in/out bytes instead of separate, but this isn't too much of a
problem. When I try and graph the information, I end up with what looks like
deltas rather than absolute values.
The rrd was created using:
RRDs::create("s1g1.rrd",
"DS:p1:COUNTER:600:0:4294967295",
"DS:p2:COUNTER:600:0:4294967295",
"DS:p3:COUNTER:600:0:4294967295",
...
"DS:p24:COUNTER:600:0:4294967295",
"RRA:MAX:0.5:1:600",
"RRA:MAX:0.5:6:700",
"RRA:MAX:0.5:24:775",
"RRA:MAX:0.5:288:797");
Data gathered from snmpwalk via a perl script is added every 5 minutes using
RRDs::update("s1g1.rrd", "N:$data");
rrdtool fetch s1g1.rrd MAX shows a number of values, but they're all
floating point instead of being a 32bit int. What am I doing wrong?
To graph the data, I'm using:
rrdtool graph s1g1p1.gif --start -86400 DEF:in=s1g1.rrd:p1:MAX
AREA:in#00FF00:"Traffic"
Which RRA is it actually using to display the graph?
Simon
--
Simon Amor
simon.a at webfusion.co.uk
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
More information about the rrd-users
mailing list