I have a script that puts either 0 or 100 into my rrd. I would like my graphs (using AREA and a small enough time frame so there is no averaging of the data) to show the full range of 0-100, but nothing else. So if the value is 0 nothing should show up, if the value is 100 the entire graph is filled. Currently, I am getting a graph with a range of 99 to 101 (I haven't recorded any 0's yet) with 100 right in the middle so my AREA graph is filling up the lower part of the graph. With my current set of data, I would like the entire graph to be blue. Any ideas? Here is my call to rrdtool.
rrdtool graph graph.png -r --upper-limit 100 --units-exponent 0 -a PNG DEF:avail=/data/device1.rrd:availability:AVERAGE AREA:ave#0000FF Thanks, Spencer -----Original Message----- From: Sinisa Burina [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 8:13 PM To: [email protected] Subject: [rrd-users] RRDgraph: Magic number - 7680 Hello, list members! I may be wrong, but I think I've noticed that rrdgraph starts showing incorrect values if it has to read more than 7680 rows of data. I have tried to graph test data for various periods of time from the database with only one RRA that stores one year of 5-minute average. What happens is that all values and CDEFS are calculated and shown correctly for any given period that does not exceed 26 days and 16 hours - 7680 x 5 minutes exactly. The same problem shows up for any RRA with total more than 7680 rows of data. The version of rrdtool is 1.0.40. Please excuse me if this issue is already solved, I was unable to find anything about it on the net. Could somebody please advise? -- Best Regards, Sinisa Burina -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
