due_to_source_code_changing_1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
due_to_source_code_changing_1 [2021/09/14 14:36]
jrutte02 removed
— (current)
Line 1: Line 1:
-The file "cluster_view.php" in the ganglia home directory(/usr/share/ganglia/) was changed: 
  
- 
- 
-<code php the original code(at line 168)> 
-   ... 
-   $sorted_hosts = array_merge($down_hosts, $sorted_hosts); 
-   # First pass to find the max value in all graphs for this  
-   # metric. The $start,$end variables comes from get_context.php, 
-   # included in index.php. 
-   list($min, $max) = find_limits($sorted_hosts, $metricname);  ### max/min from max/min of all hosts 
-   # Second pass to output the graphs or metrics. 
-   $i = 1; 
-   foreach ( $sorted_hosts as $host => $value ) 
-   { ... 
-</code> 
-     
- 
-<code php the changed code> 
-   ... 
-   $sorted_hosts = array_merge($down_hosts, $sorted_hosts); 
-   # First pass to find the max value in all graphs for this 
-   # metric. The $start,$end variables comes from get_context.php,  
-   # included in index.php. 
-   #list($min, $max) = find_limits($sorted_hosts, $metricname);  ### max/min from max/min of all hosts 
-   # Second pass to output the graphs or metrics. 
-   $i = 1; 
-   foreach ( $sorted_hosts as $host => $value ) 
-   { 
-      list($min, $max) = array(0,0); ###### max/min for every host separatly 
-   ... 
-    
-</code>