Hi again,
I found a Xymon config file which seems to hold the default setup for the RRD graphs created within Xymon (rrddefinitions.cfg). The contents look like this:
576 datapoints w/ 5 minute interval = 48 hours @ 5 min avg.
RRA:AVERAGE:0.5:1:576
576 datapoints w/ 6*5 minute averaged = 12 days @ 30 min avg.
RRA:AVERAGE:0.5:6:576
576 datapoints w/ 24*5 minute averaged = 48 days @ 2 hour avg.
RRA:AVERAGE:0.5:24:576
576 datapoints w/ 288*5 minute averaged = 576 days @ 1 day avg.
RRA:AVERAGE:0.5:288:576
Would I be correct saying that if I *add / append* the following lines, this would include the LAST value to all new graphs created still keepign the AVERAGE?
576 datapoints w/ 5 minute interval = 48 hours @ 5 min avg.
RRA:LAST:0.5:1:576
576 datapoints w/ 6*5 minute averaged = 12 days @ 30 min avg.
RRA:LAST:0.5:6:576
576 datapoints w/ 24*5 minute averaged = 48 days @ 2 hour avg.
RRA: LAST:0.5:24:576
576 datapoints w/ 288*5 minute averaged = 576 days @ 1 day avg.
RRA: LAST:0.5:288:576
Thanks, James
Message: 1 Date: Fri, 30 Mar 2012 12:21:38 +0200 From: James McDonald <j.mcdo73 at gmail.com> To: xymon at xymon.com Subject: [Xymon] Change default RRD graph definitions Message-ID: <CAE4zdC1WB8F+zyTFjTRX2bO8aV8K6ON3UkMbwL2Xt2-=PqgSyg at mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"
Hello,
I'm looking to change the graph definitions for one of the built-in checks e.g. [http].
The default creation method for the RRD graphs is "average", but I want to display the "last" value instead. The graphs.cfg file has this to create http graphs:
[http]
DEF:p at RRDIDX@=@RRDFN@:sec:*AVERAGE* LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@ GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf%s (avg)
What needs to be done to change the existing graphs on the system to display *LAST* instead?
Thanks, James