In current trunk (r1185), when you are in Cluster view, your host
graphs' titles would have duplicated hostnames eg.
"server1.ganglia.info server1.ganglia.info last hour".
The following patch fixes that and brings the behaviour closer to what
it was before:
Index: graph.php
===================================================================
--- graph.php (revision 1185)
+++ graph.php (working copy)
@@ -157,7 +157,7 @@
break;
case 'host':
- $title = isset($graph) ? $hostname : '' ;
+ $title = null;
break;
default:
@@ -165,7 +165,11 @@
break;
}
-$rrdtool_graph['title'] = $title . ' ' . $rrdtool_graph['title'] . "
last $range";
+if ( isset($title) ) {
+ $rrdtool_graph['title'] = $title . ' ' . $rrdtool_graph['title'] .
" last $range";
+} else {
+ $rrdtool_graph['title'] = $rrdtool_graph['title'] . " last $range";
+}
//--------------------------------------------------------------------------------------
Cheers,
Bernard
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers