Re: [rrd-users] Question about RRDTool ..

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&...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-21-2008
Jean-Yves Avenard
 
Posts: n/a
Default Re: [rrd-users] Question about RRDTool ..

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0