[rrd-users] getting graphs from my averaged values
MAUPOUME Nicolas
nicolas.maupoume-renexter at renault.com
Tue Nov 27 15:24:06 MET 2001
hello everybody,
i created the following rrd file with a perl module:
my @options = ("-b", $START, "-s", $STEP,
"DS:nmr:GAUGE:600:U:U",
"DS:nms:GAUGE:600:U:U",
"DS:nmt:GAUGE:600:U:U",
"RRA:AVERAGE:0.5:1:288",
"RRA:AVERAGE:0.5:6:288",
"RRA:AVERAGE:0.5:24:276",
"RRA:AVERAGE:0.5:288:335",
"RRA:MAX:0.5:1:288",
"RRA:MAX:0.5:6:288",
"RRA:MAX:0.5:24:276",
"RRA:MAX:0.5:288:335");
i manage to draw dayly graphs with:
graph my_server_day.png -s 1006862316
DEF:nmr=../my_server_guard.rrd:nmr:AVERAGE LINE2:nmr#0000FF:"number of
messages received" DEF:nmt=../my_server_guard.rrd:nmt:AVERAGE
LINE2:nmt#00FF00:"number of messages transmitted"
DEF:nms=../my_server_guard.rrd:nms:AVERAGE LINE2:nms#FF0000:"number of
messages stored"
but i don't know how to draw weekly,monthly and yearly graphs from the
averaged archives: RRA:AVERAGE:0.5:6:288, RRA:AVERAGE:0.5:24:276,
RRA:AVERAGE:0.5:288:335,
how can i specify to take values from one or the other archive?
another question i would like to ask is about MAX attribute,
i thought it would give the maximal value stored in the archive. I ran:
rrdtool graph speed.gif --start 920804400 --end 920808000
DEF:myspeed=./test.rrd:speed:MAX LINE2:myspeed#FF0000
and got exactly the same result as i had with the attribute AVERAGE. Is
there a mistake or is it right?
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list