User Tools

Site Tools


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
Next revision
Previous revision
due_to_source_code_changing_1 [2013/07/25 14:35]
noskov
due_to_source_code_changing_1 [2013/08/07 17:22]
noskov
Line 1: Line 1:
 The file "​cluster_view.php"​ in the ganglia home directory(/​usr/​share/​ganglia/​) was changed: The file "​cluster_view.php"​ in the ganglia home directory(/​usr/​share/​ganglia/​) was changed:
  
-the original code(at line 168): 
  
  
 +<code php the original code(at line 168)>
    ...    ...
    ​$sorted_hosts = array_merge($down_hosts,​ $sorted_hosts);​    ​$sorted_hosts = array_merge($down_hosts,​ $sorted_hosts);​
Line 14: Line 14:
    ​foreach ( $sorted_hosts as $host => $value )    ​foreach ( $sorted_hosts as $host => $value )
    { ...    { ...
 +</​code>​
     ​     ​
  
- +<code php the changed code>
-the changed code+
    ...    ...
    ​$sorted_hosts = array_merge($down_hosts,​ $sorted_hosts);​    ​$sorted_hosts = array_merge($down_hosts,​ $sorted_hosts);​
Line 30: Line 28:
    ​foreach ( $sorted_hosts as $host => $value )    ​foreach ( $sorted_hosts as $host => $value )
    {    {
-      list($min, $max) = find_limits($host$metricname); ##### max/min for every host separatly+      list($min, $max) = array(0,0); ###### max/min for every host separatly
    ...    ...
 +    
 +</​code>​
due_to_source_code_changing_1.txt · Last modified: 2013/08/07 17:22 by noskov