[rrd-users] Values in graphs not correct when show more than 3 days
Pit
parpit at gmail.com
Thu Aug 20 11:21:32 CEST 2009
Hello,
I have a problem with the graphs generated by the rrdtool. I'm using RRDtool
1.3.8, and when I select a graph that display valuses for more than 2 days,
then the values showed are incorrect.
I attach graphs for the next descriptions of the problem, and how i generate
the graphs, also attach the rrd files used to genrate this graphs
[From_now_to_1_day_ago.png] From now (20 Ago 2009 10:30) to 1 day ago: The
maximun is over 19 Ago 2009 at 22:00 this is correct
green max=183 (label Maximo:)
brown max=223 (label Maximo:)
/usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300
--title="Estadisticas APLI C&C[cada 5 min] " --base=1000 --height=400
--width=1000 --alt-autoscale-max --lower-limit=0 --vertical-label=""
--slope-mode --font TITLE:10: --font AXIS:8: --font LEGEND:10: --font
UNIT:8:
DEF:a="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaElementosCreados.rrd":LanzarScript:AVERAGE
DEF:b="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaOtrosCreados.rrd":LanzarScript:AVERAGE
AREA:a#6EA10066:"" LINE1:a#157419FF:"Num Elementos Creados"
GPRINT:a:LAST:"Actual\:%8.0lf" GPRINT:a:AVERAGE:"Media [cada 5
min]\:%8.2lf" GPRINT:a:MAX:"Maximo\: %8.0lf\n" AREA:b#942D0C33:""
LINE1:b#942D0CFF:"Num Otros Creados" GPRINT:b:LAST:" Actual\:%8.0lf"
GPRINT:b:AVERAGE:"Media [cada 5 min]\:%8.2lf" GPRINT:b:MAX:"Maximo\:
%8.0lf\n"
http://n2.nabble.com/file/n3477896/From_now_to_1_day_ago.png
[From_now_to_2_day_ago.png] From now (20 Ago 2009 10:30) to 2 day ago: The
maximun is over 19 Ago 2009 at 22:00 this is correct
green max=183 (label Maximo:)
brown max=223 (label Maximo:)
/usr/bin/rrdtool graph - --imgformat=PNG --start=-172800 --end=-300
--title="Estadisticas APLI C&C[cada 5 min] " --base=1000 --height=400
--width=1000 --alt-autoscale --upper-limit=300 --lower-limit=0
--vertical-label="" --slope-mode --font TITLE:10: --font AXIS:8: --font
LEGEND:10: --font UNIT:8:
DEF:a="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaElementosCreados.rrd":LanzarScript:AVERAGE
DEF:b="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaOtrosCreados.rrd":LanzarScript:AVERAGE
AREA:a#6EA10066:"" LINE1:a#157419FF:"Num Elementos Creados"
GPRINT:a:LAST:"Actual\:%8.0lf" GPRINT:a:AVERAGE:"Media [cada 5
min]\:%8.2lf" GPRINT:a:MAX:"Maximo\: %8.0lf\n" AREA:b#942D0C33:""
LINE1:b#942D0CFF:"Num Otros Creados" GPRINT:b:LAST:" Actual\:%8.0lf"
GPRINT:b:AVERAGE:"Media [cada 5 min]\:%8.2lf" GPRINT:b:MAX:"Maximo\:
%8.0lf\n"
http://n2.nabble.com/file/n3477896/From_now_to_2_day_ago.png
[From_now_to_3_day_ago.png] From now (20 Ago 2009 10:30) to 3 day ago: in
this case de graph is incorrect because the max of the graph must be 183 and
223. The peaks for the last 2 days are incorrect
green max=56 (label Maximo:)
brown max=67 (label Maximo:)
/usr/bin/rrdtool graph - --imgformat=PNG --start=-259200 --end=-300
--title="Estadisticas APLI C&C[cada 5 min] " --base=1000 --height=400
--width=1000 --alt-autoscale --upper-limit=300 --lower-limit=0
--vertical-label="" --slope-mode --font TITLE:10: --font AXIS:8: --font
LEGEND:10: --font UNIT:8:
DEF:a="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaElementosCreados.rrd":LanzarScript:AVERAGE
DEF:b="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaOtrosCreados.rrd":LanzarScript:AVERAGE
AREA:a#6EA10066:"" LINE1:a#157419FF:"Num Elementos Creados"
GPRINT:a:LAST:"Actual\:%8.0lf" GPRINT:a:AVERAGE:"Media [cada 5
min]\:%8.2lf" GPRINT:a:MAX:"Maximo\: %8.0lf\n" AREA:b#942D0C33:""
LINE1:b#942D0CFF:"Num Otros Creados" GPRINT:b:LAST:" Actual\:%8.0lf"
GPRINT:b:AVERAGE:"Media [cada 5 min]\:%8.2lf" GPRINT:b:MAX:"Maximo\:
%8.0lf\n"
http://n2.nabble.com/file/n3477896/From_now_to_3_day_ago.png
[From_now_to_7_day_ago.png] From now (20 Ago 2009 10:30) to 1 week ago: the
problem is exactly as the "From now (20 Ago 2009 10:30) to 3 day ago"
green max=56 (label Maximo:)
brown max=67 (label Maximo:)
/usr/bin/rrdtool graph - --imgformat=PNG --start=-604800 --end=-300
--title="Estadisticas APLI C&C[cada 5 min] " --base=1000 --height=400
--width=1000 --alt-autoscale --upper-limit=300 --lower-limit=0
--vertical-label="" --slope-mode --font TITLE:10: --font AXIS:8: --font
LEGEND:10: --font UNIT:8:
DEF:a="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaElementosCreados.rrd":LanzarScript:AVERAGE
DEF:b="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaOtrosCreados.rrd":LanzarScript:AVERAGE
AREA:a#6EA10066:"" LINE1:a#157419FF:"Num Elementos Creados"
GPRINT:a:LAST:"Actual\:%8.0lf" GPRINT:a:AVERAGE:"Media [cada 5
min]\:%8.2lf" GPRINT:a:MAX:"Maximo\: %8.0lf\n" AREA:b#942D0C33:""
LINE1:b#942D0CFF:"Num Otros Creados" GPRINT:b:LAST:" Actual\:%8.0lf"
GPRINT:b:AVERAGE:"Media [cada 5 min]\:%8.2lf" GPRINT:b:MAX:"Maximo\:
%8.0lf\n"
http://n2.nabble.com/file/n3477896/From_now_to_7_day_ago.png
[From_now_to_15_day_ago.png]From now (20 Ago 2009 10:30) to 15 day ago: in
this graph the max values are smaller. Why?
green max=24 (label Maximo:)
brown max=21 (label Maximo:)
/usr/bin/rrdtool graph - --imgformat=PNG --start=-1382400 --end=-300
--title="Estadisticas APLI C&C[cada 5 min] " --base=1000 --height=400
--width=1000 --alt-autoscale --upper-limit=300 --lower-limit=0
--vertical-label="" --slope-mode --font TITLE:10: --font AXIS:8: --font
LEGEND:10: --font UNIT:8:
DEF:a="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaElementosCreados.rrd":LanzarScript:AVERAGE
DEF:b="/opt/app/appsoft/cacti/htdocs/cacti/rra/CRM_consultaOtrosCreados.rrd":LanzarScript:AVERAGE
AREA:a#6EA10066:"" LINE1:a#157419FF:"Num Elementos Creados"
GPRINT:a:LAST:"Actual\:%8.0lf" GPRINT:a:AVERAGE:"Media [cada 5
min]\:%8.2lf" GPRINT:a:MAX:"Maximo\: %8.0lf\n" AREA:b#942D0C33:""
LINE1:b#942D0CFF:"Num Otros Creados" GPRINT:b:LAST:" Actual\:%8.0lf"
GPRINT:b:AVERAGE:"Media [cada 5 min]\:%8.2lf" GPRINT:b:MAX:"Maximo\:
%8.0lf\n"
http://n2.nabble.com/file/n3477896/From_now_to_15_day_ago.png
http://n2.nabble.com/file/n3477896/rddtool_error.zip rddtool_error.zip
Anybody can help me, to correct this error?
Thank you very much.
Pit
--
View this message in context: http://n2.nabble.com/Values-in-graphs-not-correct-when-show-more-than-3-days-tp3477896p3477896.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users
mailing list