Hi, I'm new to RRD and have a problem I just cannot figure out.
I have some scripts which looks like the following: rrdtool create test.rrd --start <start> --step 60 DS:a_0:COUNTER:120:0:9999 DS:b_0:COUNTER:120:0:9999 RRA:AVERAGE:0.5:1:1440 RRA:AVERAGE:0.5:30:10080 RRA:AVERAGE:0.5:60:43200 RRA:AVERAGE:0.5:360:525600 ... rrdtool graph test.png --width 600 --height 200 --lower-limit 0 --interlaced --start -1day --end now DEF:used=test.rrd:a_0:AVERAGE LINE2:a#0000FF:"a" GPRINT:a:MAX:" Max\: %3.0lf" GPRINT:a:AVERAGE:" Avg\: %3.0lf" GPRINT:a:LAST:" Current\: %3.0lf\n" DEF:b=test.rrd:b_0:AVERAGE LINE2:b#00FF00:"b" GPRINT:b:MAX:"Max\: %3.0lf" GPRINT:b:AVERAGE:" Avg\: %3.0lf" GPRINT:b:LAST:" Current\: %3.0lf" My source is integers but when I enter data into the tables and create a graph I get doubles with 1 decimal point. Is it possible to force rrdtool to stick with integers? As you can see I'm defining the range from 0 to 9999 intergers so values on the y-axis like 1.8 does not make any sense. Thanks in advance. -- Henrik -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
