This is a discussion on Re: [rrd-users] Question about RRDTool .. within the RRD Users forums, part of the Networking and Network Related category; Hi On Fri, Mar 21, 2008 at 10:42 PM, Alex van den Bogaerdt <alex@ergens.op.het.net&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi
On Fri, Mar 21, 2008 at 10:42 PM, Alex van den Bogaerdt <alex@ergens.op.het.net> wrote: > What DEF statements do you use ? I create the graph with the following: /usr/local/rrdtool-1.2.27/bin/rrdtool graph images/speedday.png -l 0 \ -t 'Sync Speed - DAILY' \ -x HOUR:1:HOUR:4:HOUR:2:0:%k \ DEF:maxdown=modem.rrd:maxdown:AVERAGE \ VDEF:ds2max=maxdown,MAXIMUM \ VDEF:ds2avg=maxdown,AVERAGE \ VDEF:ds2min=maxdown,MINIMUM \ VDEF:ds2pct=maxdown,LAST \ COMMENT:' ' \ COMMENT:'Maximum ' \ COMMENT:'Average ' \ COMMENT:'Minimum ' \ COMMENT:'Last Value\l' \ LINE1:maxdown#00F000:'Max In. ' \ GPRINT:ds2max:'%5.0lf kb/s' \ GPRINT:ds2avg:'%5.0lf kb/s' \ GPRINT:ds2min:'%5.0lf kb/s' \ GPRINT:ds2pct:' %5.0lf kb/s\l' > > What Tobi said was: > > use max(all maximums) I think this is what I'm doing > not max(all averages) > > Indeed, the latter does not make sense. But it is what you get when > you DEF:remote=speed.rrd:remote:AVERAGE I'm not :) _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |