[rrd-users] ÿso-8859-1?Q?Year´s?ÿraph

Javier Bartual jbartual at aranzadi.es
Mon Feb 4 16:30:26 MET 2002



Hey all:

We´ve the next problem.
We´ve created a database with the number of users in our system.
We want to store all the values during one year.We collect samples every
15 minutes.

rrdtool create file.rrd -s 900 \
DS:Totales:GAUGE:1800:U:U \
DS:Westlaw:GAUGE:1800:U:U \
DS:Institu:GAUGE:1800:U:U \
RRA:LAST:0.5:1:35040


When I graph the values during the last week I get the results every 15
minutes, but when I graph all the year no ( the results I get don´t
change every 15 minutes). I suppose there´s something wrong in what I´m
doing, but I don´t know what.

Here is how I graph:

WEEK graph:

rrdtool graph week.gif -s -604800 -h 200 -w 800 --vertical-label Activos
-t "Grafico Semanal"
COMMENT:"Numero de Usuarios      " COMMENT:"Min    " COMMENT:"Act    "
COMMENT:"Max     \n"
DEF:linea=file.rrd:Totales:LAST LINE2:linea#FF0000:"Totales
"
GPRINT:linea:MIN:"%4.0lf   " GPRINT:linea:LAST:"%4.0lf   "
GPRINT:linea:MAX:"%4.0lf"


YEAR graph:

rrdtool graph year.gif -s -31536000 -h 200 -w 800 --vertical-label
Activos -t "Grafico Anual"
COMMENT:"Numero de Usuarios      " COMMENT:"Min    " COMMENT:"Act    "
COMMENT:"Max     \n"
DEF:linea=file.rrd:Totales:LAST AREA:linea#FF0000:"Totales
"
GPRINT:linea:MIN:"%4.0lf   " GPRINT:linea:LAST:"%4.0lf   "
GPRINT:linea:MAX:"%4.0lf"



Thanks very much.

(Please, answer to my personal email, thanks a lot)




--
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