The solution to the garbled code in the Chinese display box of zabbix's web interface
This paper introduces the solution to the garbled code in the Chinese display box of zabbix web interface. The detailed steps are clear and the details are handled properly. I hope it can help more friends who want to solve this problem to find a more simple and easy way.
The error screenshot is as follows
My zabbix-server here is installed using yum, and the character-related configuration file path is as follows
Don't say much, solve the problem directly, copy the Windows computer font file to the / usr/share/zabbix/assets/fonts path in advance.
Cd / usr/share/zabbix/assets/fontsll
Here we found that graphfont.ttf has been linked to other files, we do not need to manage, directly create a new soft link to the boldface file SIMHEI.TTF prepared in advance
Ln-snf SIMHEI.TTF graphfont.ttfll
Tips SIMHEI.TTF can write absolute path
Refresh the web page and display normally.
Other version solutions are attached.
The configuration files related to zabbix fonts are as follows
/ usr/share/zabbix/include/defines.inc.php/usr/share/zabbix/assets/fonts/etc/alternatives/zabbix-web-font
On the zabbix web interface Chinese display box garbled solutions to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.