Ganglia under php7
Ganglia web interface cannot display charts in CentOS7, if php is updated to version 7.
This is because /usr/share/ganglia/cluster_view.php in line 34, $context_metrics[] was originally initialized as “”, in line 26.
If changing line 26 to
$context_metrics = [];
The problem is fixed.