Hello,
I have my values in mysql the values are every 15 minutes generated.
Im now using this /usr/bin/rrdtool graph '.$filename.' --step 900 --imgformat=PNG --title "'.$title.'" --slope-mode --vertical-label="Wh" --alt-autoscale-max --start='.$start.' --end=+1hours --width=600 --height=300 "DEF:min='.$DS_BASE.':min:AVERAGE" "AREA:min#00FF00:Opbrengst" GPRINT:min:LAST:" Current\:%8.2lf %sW" GPRINT:min:AVERAGE:"Average\:%8.2lf %sW" GPRINT:min:MAX:"Maximum\:%8.2lf %sW\n"
The problem that I have is that the older values (month graph) has lower values ( I think average) Is there a way to prevent this is happening?
Steffan
That's an RRD "feature". Due to how it consolidates data over the longer views, the initial graph is over 5 minutes, the next one is across 15 minutes, etc. This tends to smooth out interesting events over time. This is one the the biggest shortcomings of RRD and why other time-series databases have been created...like whisper for Graphite or Prometheus data store. I wish the Xymon would easily let you replace RRD with a different graphing tool.
=G=
On Wed, Nov 15, 2017 at 8:19 AM, Steffan <mailinglist at tikklik.nl> wrote:
Hello,
I have my values in mysql the values are every 15 minutes generated.
Im now using this /usr/bin/rrdtool graph '.$filename.' --step 900 --imgformat=PNG --title "'.$title.'" --slope-mode --vertical-label="Wh" --alt-autoscale-max --start='.$start.' --end=+1hours --width=600 --height=300 "DEF:min='.$DS_BASE.':min:AVERAGE" "AREA:min#00FF00:Opbrengst" GPRINT:min:LAST:" Current\:%8.2lf %sW" GPRINT:min:AVERAGE:"Average\:%8.2lf %sW" GPRINT:min:MAX:"Maximum\:%8.2lf %sW\n"
The problem that I have is that the older values (month graph) has lower values ( I think average) Is there a way to prevent this is happening?
Steffan
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (2)
-
mailinglist@tikklik.nl
-
solitaryr@gmail.com