No graphs in Ganglia
Today I was installing Ganglia in a new server. After successfully compiling and installing gmond and gmetad I placed the web files in a directory accessible by Apache.
When I loaded the web page, all graphs were empty/broken. Something was wrong. PHP had GD enabled, so it was not it. I checked the php log and no errors were found, but when I looked at the error_log I saw the following:
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org
First of all, I had missed the requirement to have fontconfig. So I went ahead and installed it. After the installation was complete, the problem was still there. I checked and /usr/share/fonts was empty, but there is another directory, /usr/share/X11/fonts which had plenty of fonts. So I renamed the original fonts directory and created a symlink to the one that has plenty of fonts.
After this, ganglia’s graphs showed up as expected.
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
Comments
No comments yet.
Leave a comment