Some graphs requires JPGraph to be installed.
Download JPGraph here: http://jpgraph.net/download/
Put the jpgraph-3.5.0b1.tar.gz file on the ClusterControl server and do
Centos/Redhat
sudo tar xvfz jpgraph-3.5.0b1.tar.gz -C /var/www/html/cmon
sudo cd /var/www/html/cmon
sudo ln -s jpgraph-3.5.0b1 jpgraph
sudo chown apache:apache -R jpgraph*
Ubuntu/Debian
sudo tar xvfz jpgraph-3.5.0b1.tar.gz -C /var/www/cmon
cd /var/www/cmon
sudo ln -s jpgraph-3.5.0b1 jpgraph
sudo chown www-data:www-data -R jpgraph*
If you get the error (some Ubuntu only):
The function imageantialias() is not available in your PHP installation
Then do:
cd /var/www/cmon/jpgraph/src/
sudo EDITOR gd_image.inc.php
## go to line 110:
## comment that line out, put // in front of the line so it reads:
// JpGraphError::RaiseL(25128);//('The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.')
Comments
1 comment
Hi, just wondering if this could be made part of the automatic Configurator tool? The online Configurator tool is really great, makes it really easy to set up test clusters on Galera, MySQL Cluster and plain replication, and it would be helpful if JPGraph was part of it rather than an additional step. Thanks for the great tool guys.
Please sign in to leave a comment.