On Tue, Apr 15, 2008 at 02:50:30PM -0600, Brad Nicholes wrote: > >>> On 4/15/2008 at 12:27 AM, in message <[EMAIL PROTECTED]>, Carlo > Marcelo Arenas Belon <[EMAIL PROTECTED]> wrote: > > > > backported and tested when applied to ganglia 3.0.7 as well, but I am afraid > > not the complete fix that Martin was probably expecting for, as the > > heartbeat > > age is not calculated correctly either way.
I might had uncover another bug when testing it as I was using an adhoc cluster with only 1 node to test it. in this scenario the cluster time also stop getting updating resulting in a "frozen" age. > So what is the logic that is being used to calculate this time for the down > node that show up on the cluster page? from show_node.php, lines 68 to 71 # Compute time of last heartbeat from node's dendrite. $clustertime=$cluster['LOCALTIME']; $heartbeat=$hostattrs['REPORTED']; $age = $clustertime - $heartbeat; > The last heartbeat time seems to be correct here. right, if there are more nodes in the cluster, it will be correct. Carlo ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers