Hi,
I recently upgraded from Zabbix 6.0 to Zabbix 7.0 LTS. While the “Latest Data” shows up correctly, I’m experiencing issues with the graphs.
The graphs display lines and bars, but none of the graphs show data values or labels on the X and Y axes. They appear as plain graphs without any detailed information. I’ve tried adjusting all the configuration settings and followed the guide, but the issue persists. An example system load graph is attached for reference.
Additional Information:
• Font Issues: The error log indicates problems with the imagettftext() function not being able to find or open the font file. Here is a snippet from the Nginx error log:
I have verified that the font files are correctly placed in the /usr/share/zabbix/assets/fonts/ directory and have the appropriate permissions.
• Web Server: I am using Nginx as the web server.
• PHP Configuration: The PHP configuration (php.ini) has the required settings for Zabbix. The PHP GD extension is installed and enabled, and I’ve tried restarting the web server and Zabbix services multiple times.
• Zabbix Configuration: I have checked the Zabbix server and frontend configuration files to ensure that they are correctly set up, including the $ZBX_GUI_URL in zabbix.conf.php.
Issue Details:
• The issue persists even after verifying the font files and adjusting the configuration settings.
• No significant errors in the Nginx or Zabbix logs that provide further clues to the problem, apart from the font issues indicated above.
Despite these configurations, the issue remains unresolved. Has anyone encountered a similar problem or have any suggestions on what else I can check or modify?
Any help would be much appreciated.
Thanks.
I recently upgraded from Zabbix 6.0 to Zabbix 7.0 LTS. While the “Latest Data” shows up correctly, I’m experiencing issues with the graphs.
The graphs display lines and bars, but none of the graphs show data values or labels on the X and Y axes. They appear as plain graphs without any detailed information. I’ve tried adjusting all the configuration settings and followed the guide, but the issue persists. An example system load graph is attached for reference.
Additional Information:
• Font Issues: The error log indicates problems with the imagettftext() function not being able to find or open the font file. Here is a snippet from the Nginx error log:
Code:
2024/06/10 20:59:57 [error] 997#0: *8376 FastCGI sent in stderr: "message: PHP Warning: imagettftext(): Could not find/open font in /usr/share/zabbix/include/graphs.inc.php on line 476PHP message: PHP Warning: imagettftext(): Could not find/open font in /usr/share/zabbix/include/graphs.inc.php on line 476...
• Web Server: I am using Nginx as the web server.
• PHP Configuration: The PHP configuration (php.ini) has the required settings for Zabbix. The PHP GD extension is installed and enabled, and I’ve tried restarting the web server and Zabbix services multiple times.
• Zabbix Configuration: I have checked the Zabbix server and frontend configuration files to ensure that they are correctly set up, including the $ZBX_GUI_URL in zabbix.conf.php.
Issue Details:
• The issue persists even after verifying the font files and adjusting the configuration settings.
• No significant errors in the Nginx or Zabbix logs that provide further clues to the problem, apart from the font issues indicated above.
Despite these configurations, the issue remains unresolved. Has anyone encountered a similar problem or have any suggestions on what else I can check or modify?
Any help would be much appreciated.
Thanks.
Comment