A problem with the webinterface of the ganglia monitoring service is that really every single is shown at the first page. This can be really annoying in a big cluster: page loading takes too long. The option "Show hosts" is enabled by default.

The following patches disable this option by default:

--- web/get_context.php     2008-11-19 15:03:33.801320267 +0100
+++ web/get_context.php     2008-11-19 15:03:44.561321032 +0100
@@ -63,7 +63,7 @@

 # Default values
 if (!is_numeric($hostcols)) $hostcols = 4;
-if (!is_numeric($showhosts)) $showhosts = 1;
+if (!is_numeric($showhosts)) $showhosts = 0;
--- graph.php       2008-11-26 14:38:48.401318853 +0100
+++ graph.php   2008-11-19 15:36:31.261318494 +0100
@@ -67,6 +67,9 @@
     case "cluster":
       $rrd_dir = "$rrds/$clustername/__SummaryInfo__";
       break;
+    case "cluster-summary":
+      $rrd_dir = "$rrds/$clustername/__SummaryInfo__";
+      break;
     case "host":
       $rrd_dir = "$rrds/$clustername/$hostname";
       break;

-- HenrikKroeger - 11 Feb 2009
Topic revision: r1 - 11 Feb 2009, HenrikKroeger
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback