From: <ber...@us...> - 2008-10-13 19:58:01
|
Revision: 1863 http://ganglia.svn.sourceforge.net/ganglia/?rev=1863&view=rev Author: bernardli Date: 2008-10-13 19:57:54 +0000 (Mon, 13 Oct 2008) Log Message: ----------- This commit is a merge from trunk to 3.1.x: svn merge -c1852 https://ganglia.svn.sourceforge.net/svnroot/ganglia/trunk/monitor-core . Original commit message: [web] Fix bug where node image of a downed host in host_view is node_0-24.jpg instead of node_dead.jpg Reported-by: Noah Silas <noa...@em...> Modified Paths: -------------- branches/monitor-core-3.1/web/functions.php Modified: branches/monitor-core-3.1/web/functions.php =================================================================== --- branches/monitor-core-3.1/web/functions.php 2008-10-13 08:56:01 UTC (rev 1862) +++ branches/monitor-core-3.1/web/functions.php 2008-10-13 19:57:54 UTC (rev 1863) @@ -174,6 +174,8 @@ # the load/death of a cluster node function node_image ($metrics) { + global $hosts_down; + $cpu_num = $metrics["cpu_num"]['VAL']; if(!$cpu_num || $cpu_num == 0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |