[rrd-users] Year graph does not show a line

forfun rrdtool at perlig.net
Mon Feb 19 19:08:36 CET 2007


Hello,
i don´t understand, why the year graph doesn´t show me a result ?

The Data is feed by random data for the past 25 hours !

This RRA should store MAX data every 60 Minutes for 1 year 
RRA:MAX:0.5:60:8760, but rrdtool graph doesn´t show it ? Why ?

How do i tell rrdtool graph to print the graph, when there are only data for
25 hours ?

Theser are the setting

Creating the rrd:
rrdtool create test.rrd --start -365d --step 120 DS:test:GAUGE:600:-10:10
RRA:MAX:0.5:60:8760 RRA:MIN:0.5:60:8760 RRA:MAX:0.5:5:576 RRA:MIN:0.5:5:576

The year graph:
graph \ test_0.gif --start -365d --end now -w 500 \
DEF:myk_min=test.rrd:test:MIN \ DEF:myk_max=test.rrd:test:MAX \
VDEF:ds0max=myk_max,MAXIMUM \ VDEF:ds0min=myk_min,MINIMUM \ COMMENT:"" \
LINE1:myk_max#FF0000:"Daten_max" \ GPRINT:ds0max:"%6.2lf \n" \
AREA:myk_min#0000FF:"Daten_min" \ GPRINT:ds0min:"%6.2lf " 

The 2 days graph:
rrdtool graph \ test_1.gif --start -2d --end now -w 500 \
DEF:myk_min=test.rrd:test:MIN \ DEF:myk_max=test.rrd:test:MAX \
VDEF:ds0max=myk_max,MAXIMUM \ VDEF:ds0min=myk_min,MINIMUM \ COMMENT:"" \
LINE1:myk_max#FF0000:"Daten_max" \ GPRINT:ds0max:"%6.2lf \n" \
AREA:myk_min#0000FF:"Daten_min" \ GPRINT:ds0min:"%6.2lf " 
http://www.nabble.com/file/6638/test_0.gif 
http://www.nabble.com/file/6639/test_1.gif.png 
-- 
View this message in context: http://www.nabble.com/Year-graph-does-not-show-a-line-tf3254342.html#a9046795
Sent from the RRDTool - User mailing list archive at Nabble.com.



More information about the rrd-users mailing list