There was an error collecting ganglia data ". "($ganglia_ip:$ganglia_port): $error\n"; exit; } # If we have no child data sources, assume something is wrong. if (!count($gridtree[$self])) { print "

Ganglia cannot find a data source. Is gmond running?

"; exit; } else if (count($gridtree[$self])==1 and count($clusters)==1) { # If our grid only has one child, and that child is a cluster, suppress MetaCluster output. $standalone = TRUE; if ($context=="meta") { $context = "cluster"; reset($clusters); $cluster=key($clusters); } } ?>