there are two fixes i would like to submit for consideration to the file:

    monitor-core/web/graph.d/metric.php

the first is, 'jobstart_color' should be added to the global
declarations. that is, the following code:

         global $context,
               $default_metric_color,
               $hostname,
               $jobstart,
               $load_color,
               $max,
               $meta_designator,
               $metricname,
               $metrictitle,
               $min,
               $range,
               $rrd_dir,
               $size,
               $summary,
               $value,
               $vlabel,
               $strip_domainname;

should be changed to:

         global $context,
               $default_metric_color,
               $hostname,
               $jobstart,
               $load_color,
               $max,
               $meta_designator,
               $metricname,
               $metrictitle,
               $min,
               $range,
               $rrd_dir,
               $size,
               $summary,
               $value,
               $vlabel,
               $jobstart_color,
               $strip_domainname;

=======

the second fix is to add a space between the " and ' characters. that
is, change the line:

    $series .= "'VRULE:$jobstart#$jobstart_color' ";

to:

    $series .= " 'VRULE:$jobstart#$jobstart_color' ";


 - gb

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to