[rrd-users] Re: drawing problems

Stefan Mueller s.mueller at computer.org
Tue Nov 9 12:44:39 MET 1999


Tobias Oetiker wrote:
> 
> Today you sent me mail regarding [rrd-users] drawing problems:
> 
> for me to debug this it would be ideal if you could supply a short shell
> script which first generates and rrdfile, populates it and then draws the
> graph showing the problem ...

hi tobi,
the following script shows generates a gif containing the type off error
i'm having troubles with:

rrdtool create test.rrd -b 942100000 \
        DS:av:GAUGE:600:U:U DS:ot:GAUGE:600:U:U \
        RRA:AVERAGE:0.5:1:288

rrdtool update test.rrd \
        942100300:99.8:0.0 \
        942100600:99.7:0.0 \
        942100900:99.9:0.0 \
        942101200:99.8:0.0 \
        942101500:99.8:0.0 \
        942101800:99.8:0.0 \
        942102100:99.8:0.0 \
        942102400:99.9:0.0 \
        942102700:99.9:0.0 \
        942103000:99.9:10000.0 \
        942103300:99.9:0.0 \
        942103600:99.5:0.0 \
        942103900:99.5:0.0 \
        942104200:99.5:0.0 \
        942104500:99.5:0.0 \
        942104800:99.5:0.0 \
        942105100:99.5:0.0 \
        942105400:99.5:0.0 \
        942105700:99.4:0.0 \
        942106000:99.4:10000.0 \
        942106300:99.4:0.0 \
        942106600:99.4:0.0 \
        942106900:99.8:0.0 \
        942107200:99.8:0.0 \
        942107500:99.8:0.0 \
        942107800:99.8:0.0 \
        942108100:99.8:0.0

rrdtool graph test.gif -s 942100300 -e 942108100 \
        -u 100.0 -l 99.0 -r \
        DEF:av=test.rrd:av:AVERAGE \
        DEF:ot=test.rrd:ot:AVERAGE \
        LINE2:av#ff0000:"Availability" \
        LINE2:ot#0000bb:"Outage Indicator"


i think the question is what should happen with data that is outside the
y-interval when using the -r option.

/stefan

--
stefan mueller
address: steinstrasse 38, 8003 zuerich, switzerland
phone:   +41 1 4625458 (home), +41 1 8123895 (office)
email:   s.mueller at computer.org

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list