On Fri, May 1, 2009 at 05:27, Henry Barber <[email protected]> wrote:
> Got Ganglia running fine on AIX 5.3 but find the lack of a max line on CPU
> (and other) graphs means the data loses meaning over time with averages
> diminishing the peaks and troughs.
> I was hoping a max line would be more useful with the longer term graphs.
> Is this possible ?
It is, although you'll need to make a few changes to the graphing
code. It should, in theory, be as simple as something like this patch
(against trunk):
<---snip--->
Index: metric.php
===================================================================
--- metric.php (revision 1996)
+++ metric.php (working copy)
@@ -112,6 +112,8 @@
// the actual graph...
$series = "'DEF:sum=$rrd_dir/$metricname.rrd:sum:AVERAGE' ";
$series .= "'AREA:sum#$default_metric_color:$subtitle_one' ";
+ $series .= "'VDEF:summax=sum,MAXIMUM' ";
+ $series .= "'LINE1:summax#ff0000:$subtitle_one' ";
$series .= "'COMMENT:$subtitle_two\\l' ";
if ($jobstart) {
<---snip--->
This will add a thin red line in the individual metric graphs that
shows the max value currently displayed on the chart (as opposed to
the max value recorded for that metric).
--
Jesse Becker
GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0 2720 0083 0931 9A2B 06A2
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general