> i.e. at .90sec, it records a 3. At 1.40s, it records a 2. The value is > apparently stored at 1.00s, so it writes down the value 2.89 or something > similar. I tried using LAST as well as AVERAGE for the rrd creation, but I > seem to get the same results. Is there a way to store results as integers or > to round to integers before displaying?
I should probably include the rrdcreation info :) It's created through nagiostat, but I think it simply prepends "/path/to/rrdtool create <filename specified later> <info below> --step 300 DS:rssi:GAUGE:600:0:2500 DS:jitter:GAUGE:600:0:15 RRA:AVERAGE:0.5:1:396 RRA:AVERAGE:0.5:7:336 RRA:AVERAGE:0.5:24:480 RRA:AVERAGE:0.5:290:480 I've also tried this with LAST instead. Here's the graph function, which is called as "/path/to/rrdtool graph <info below>" --start $s --end $e -X 0 -h 200 -u 2500 -t \"Canopy CSM RSSI & Jitter\" DEF:rssi=$f:rssi:AVERAGE DEF:jitter=$f:jitter:AVERAGE CDEF:jit=jitter,167,* LINE1:rssi#00A000:\"RSSI\" GPRINT:rssi:MIN:\"Minimum\\: %.4lg\" GPRINT:rssi:MAX:\"Maximum\\: %.4lg\" GPRINT:rssi:LAST:\"Current\\: %.4lg\" COMMENT:\"\\n\" LINE2:jit#0000D0:\"Jitter\" GPRINT:jitter:AVERAGE:\"Average\\: %.4lg\" GPRINT:jitter:LAST:\"Current\\: %.4lg\" COMMENT:\" Generated on \`date\`\" Because it comes from a doubly-parsed file, it has a lot of escape characters... Also, it's all on one line in the file, and the graphs do display, I just broke it up for easier readability. Rob Nelson -- 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
