Ganglia under php7

By: | Comments: No Comments

Posted in categories: Computer Tips, Work related

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.

Be the first to comment!

Leave a Reply